Skip to content

Commit f56021a

Browse files
committed
Added pre-push githook
1 parent ad59c51 commit f56021a

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.githooks/.pre-push

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#! /bin/bash
2+
3+
./scripts/check_isort
4+
./scripts/check_black

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY, throttling=4) # Makes 1 request e
9999
amazon = AmazonApi(KEY, SECRET, TAG, COUNTRY, throttling=0) # No wait time between requests
100100
```
101101

102+
## Contribution
103+
104+
Activate githooks with:
105+
106+
```
107+
git config core.hooksPath .githooks
108+
```
109+
102110
## License
103111

104112
Copyright © 2021 Sergio Abad. See [license](https://github.com/sergioteula/python-amazon-paapi/blob/master/LICENSE) for details.

0 commit comments

Comments
 (0)