|
2 | 2 | - repo: https://github.com/pre-commit/pre-commit-hooks
|
3 | 3 | rev: v4.1.0
|
4 | 4 | hooks:
|
| 5 | + - id: check-ast |
5 | 6 | - id: check-builtin-literals
|
6 | 7 | - id: check-docstring-first
|
| 8 | + - id: check-merge-conflict |
7 | 9 | - id: check-yaml
|
8 | 10 | - id: check-toml
|
9 | 11 | - id: debug-statements
|
10 | 12 | - id: end-of-file-fixer
|
11 | 13 | - id: trailing-whitespace
|
12 |
| - - id: check-case-conflict |
13 |
| - - id: check-merge-conflict |
14 | 14 | - repo: https://github.com/asottile/add-trailing-comma
|
15 | 15 | rev: v2.2.1
|
16 | 16 | hooks:
|
17 | 17 | - id: add-trailing-comma
|
18 | 18 | args: [--py36-plus]
|
19 | 19 | - repo: https://github.com/asottile/pyupgrade
|
20 |
| - rev: v2.30.1 |
| 20 | + rev: v2.31.0 |
21 | 21 | hooks:
|
22 | 22 | - id: pyupgrade
|
23 | 23 | args: ["--py37-plus"]
|
24 | 24 | exclude: "^(tests/demo_pkg_inline/build.py)$"
|
25 | 25 | - id: pyupgrade
|
26 | 26 | files: "^(tests/demo_pkg_inline/build.py)$"
|
27 |
| - - repo: https://github.com/pre-commit/pygrep-hooks |
28 |
| - rev: v1.9.0 |
| 27 | + - repo: https://github.com/PyCQA/isort |
| 28 | + rev: 5.10.1 |
29 | 29 | hooks:
|
30 |
| - - id: rst-backticks |
| 30 | + - id: isort |
31 | 31 | - repo: https://github.com/psf/black
|
32 | 32 | rev: 21.12b0
|
33 | 33 | hooks:
|
34 | 34 | - id: black
|
35 | 35 | args: [--safe]
|
36 |
| - - repo: https://github.com/PyCQA/isort |
37 |
| - rev: 5.10.1 |
38 |
| - hooks: |
39 |
| - - id: isort |
40 |
| - - repo: https://github.com/pre-commit/mirrors-prettier |
41 |
| - rev: "v2.5.1" |
42 |
| - hooks: |
43 |
| - - id: prettier |
44 |
| - additional_dependencies: |
45 |
| - |
46 |
| - |
47 |
| - args: ["--print-width=120", "--prose-wrap=always"] |
48 | 36 | - repo: https://github.com/asottile/blacken-docs
|
49 | 37 | rev: v1.12.0
|
50 | 38 | hooks:
|
51 | 39 | - id: blacken-docs
|
52 | 40 | additional_dependencies: [black==21.12b0]
|
53 |
| - - repo: https://github.com/asottile/setup-cfg-fmt |
54 |
| - rev: v1.20.0 |
| 41 | + - repo: https://github.com/pre-commit/pygrep-hooks |
| 42 | + rev: v1.9.0 |
55 | 43 | hooks:
|
56 |
| - - id: setup-cfg-fmt |
| 44 | + - id: rst-backticks |
57 | 45 | - repo: https://github.com/tox-dev/tox-ini-fmt
|
58 | 46 | rev: "0.5.2"
|
59 | 47 | hooks:
|
60 | 48 | - id: tox-ini-fmt
|
61 | 49 | args: ["-p", "fix"]
|
| 50 | + - repo: https://github.com/asottile/setup-cfg-fmt |
| 51 | + rev: v1.20.0 |
| 52 | + hooks: |
| 53 | + - id: setup-cfg-fmt |
| 54 | + args: [--min-py3-version, "3.7", "--max-py-version", "3.10"] |
62 | 55 | - repo: https://github.com/PyCQA/flake8
|
63 |
| - rev: "4.0.1" |
| 56 | + rev: 4.0.1 |
64 | 57 | hooks:
|
65 | 58 | - id: flake8
|
66 | 59 | additional_dependencies:
|
67 | 60 | - flake8-bugbear==21.11.29
|
68 | 61 | - flake8-comprehensions==3.7
|
69 |
| - - flake8-pytest-style==1.5.1 |
| 62 | + - flake8-pytest-style==1.6 |
70 | 63 | - flake8-spellcheck==0.24
|
71 | 64 | - flake8-unused-arguments==0.0.9
|
72 | 65 | - flake8-noqa==1.2.1
|
73 | 66 | - pep8-naming==0.12.1
|
| 67 | + - repo: https://github.com/pre-commit/mirrors-prettier |
| 68 | + rev: "v2.5.1" |
| 69 | + hooks: |
| 70 | + - id: prettier |
| 71 | + additional_dependencies: |
| 72 | + |
| 73 | + |
| 74 | + args: ["--print-width=120", "--prose-wrap=always"] |
74 | 75 | - repo: https://github.com/igorshubovych/markdownlint-cli
|
75 | 76 | rev: v0.30.0
|
76 | 77 | hooks:
|
|
0 commit comments