|
1 | 1 | exclude: 'jsonpath2/parser/JSONPath.*' |
2 | 2 | repos: |
3 | | -- repo: https://github.com/pre-commit/mirrors-autopep8 |
4 | | - rev: v1.5.2 |
5 | | - hooks: |
6 | | - - id: autopep8 |
7 | | -- repo: https://github.com/pre-commit/pre-commit-hooks |
| 3 | + - repo: https://github.com/pre-commit/pre-commit-hooks |
8 | 4 | rev: v2.5.0 |
9 | 5 | hooks: |
10 | | - - id: fix-encoding-pragma |
11 | | - - id: trailing-whitespace |
12 | | - - id: flake8 |
13 | | - args: [--max-line-length=120] |
14 | | - - id: check-merge-conflict |
15 | | - - id: double-quote-string-fixer |
16 | | - - id: end-of-file-fixer |
17 | | - - id: debug-statements |
18 | | - - id: check-added-large-files |
19 | | - - id: check-ast |
20 | | - - id: check-byte-order-marker |
21 | | - - id: check-case-conflict |
22 | | - - id: check-docstring-first |
23 | | - - id: check-executables-have-shebangs |
24 | | - types: [python] |
25 | | - - id: check-json |
26 | | - - id: check-vcs-permalinks |
27 | | - - id: mixed-line-ending |
28 | | - - id: name-tests-test |
29 | | - - id: pretty-format-json |
30 | | - args: |
31 | | - - --autofix |
32 | | - - --top-keys=_id |
33 | | - - id: sort-simple-yaml |
34 | | - files: '.yaml$' |
35 | | - - id: check-symlinks |
36 | | - - id: check-yaml |
37 | | - - id: detect-private-key |
38 | | - - id: trailing-whitespace |
39 | | -- repo: local |
| 6 | + - id: fix-encoding-pragma |
| 7 | + - id: trailing-whitespace |
| 8 | + - id: check-merge-conflict |
| 9 | + - id: end-of-file-fixer |
| 10 | + - id: debug-statements |
| 11 | + - id: check-added-large-files |
| 12 | + - id: check-ast |
| 13 | + - id: check-byte-order-marker |
| 14 | + - id: check-case-conflict |
| 15 | + - id: check-docstring-first |
| 16 | + - id: check-executables-have-shebangs |
| 17 | + types: [python] |
| 18 | + - id: check-json |
| 19 | + - id: check-vcs-permalinks |
| 20 | + - id: mixed-line-ending |
| 21 | + - id: name-tests-test |
| 22 | + - id: pretty-format-json |
| 23 | + args: |
| 24 | + - --autofix |
| 25 | + - --top-keys=_id |
| 26 | + - id: sort-simple-yaml |
| 27 | + files: '.yaml$' |
| 28 | + - id: check-symlinks |
| 29 | + - id: check-yaml |
| 30 | + - id: detect-private-key |
| 31 | + - id: trailing-whitespace |
| 32 | + - repo: https://github.com/psf/black |
| 33 | + rev: 22.3.0 |
40 | 34 | hooks: |
41 | | - - id: pep257 |
42 | | - name: pep257 |
43 | | - entry: python -m pep257 |
44 | | - language: system |
45 | | - types: [python] |
46 | | - - id: pylint |
47 | | - name: pylint |
48 | | - entry: python -m pylint --rcfile=pylintrc |
49 | | - language: system |
50 | | - types: [python] |
51 | | -- repo: https://github.com/Lucas-C/pre-commit-hooks |
52 | | - rev: v1.1.7 |
| 35 | + - id: black |
| 36 | + - repo: https://github.com/Lucas-C/pre-commit-hooks |
| 37 | + rev: v1.1.13 |
53 | 38 | hooks: |
54 | | - - id: remove-tabs |
55 | | - - id: remove-crlf |
| 39 | + - id: remove-tabs |
| 40 | + - id: remove-crlf |
0 commit comments