Skip to content

Commit f3db77f

Browse files
authored
feat: updated to 2020.7.14
1 parent 8a4c9e0 commit f3db77f

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
# pre-commit for pytype
2+
23
Wrapper to enable pre-commit for pytypes
34

45
## Usage:
6+
57
In your `.pre-commit-config.yaml` include the following block.
68

7-
```
8-
- repo: https://github.com/DexaiRobotics/pre-commit-pytype
9-
rev: '2020.05.13'
9+
```yaml
10+
- repo: https://github.com/sniperwolf/pre-commit-pytype
11+
rev: '2020.7.14'
1012
hooks:
1113
- id: pytype
1214
```
1315
1416
If you use `setup.cfg` instead of `-config=pytype.cfg` to run pytype then you will also need to include a empty args attribute in the pytype hook (exmple below).
1517

16-
```
17-
- repo: https://github.com/DexaiRobotics/pre-commit-pytype
18-
rev: '2020.05.13'
18+
```yaml
19+
- repo: https://github.com/sniperwolf/pre-commit-pytype
20+
rev: '2020.7.14'
1921
hooks:
2022
- id: pytype
2123
args: []
2224
```
23-

0 commit comments

Comments
 (0)