Skip to content

Commit 2355591

Browse files
committed
Bump linter
Signed-off-by: Bernát Gábor <[email protected]>
1 parent c88d497 commit 2355591

File tree

1 file changed

+24
-23
lines changed

1 file changed

+24
-23
lines changed

.pre-commit-config.yaml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,75 +2,76 @@ repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
33
rev: v4.1.0
44
hooks:
5+
- id: check-ast
56
- id: check-builtin-literals
67
- id: check-docstring-first
8+
- id: check-merge-conflict
79
- id: check-yaml
810
- id: check-toml
911
- id: debug-statements
1012
- id: end-of-file-fixer
1113
- id: trailing-whitespace
12-
- id: check-case-conflict
13-
- id: check-merge-conflict
1414
- repo: https://github.com/asottile/add-trailing-comma
1515
rev: v2.2.1
1616
hooks:
1717
- id: add-trailing-comma
1818
args: [--py36-plus]
1919
- repo: https://github.com/asottile/pyupgrade
20-
rev: v2.30.1
20+
rev: v2.31.0
2121
hooks:
2222
- id: pyupgrade
2323
args: ["--py37-plus"]
2424
exclude: "^(tests/demo_pkg_inline/build.py)$"
2525
- id: pyupgrade
2626
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
2929
hooks:
30-
- id: rst-backticks
30+
- id: isort
3131
- repo: https://github.com/psf/black
3232
rev: 21.12b0
3333
hooks:
3434
- id: black
3535
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-
- "@prettier/[email protected]"
47-
args: ["--print-width=120", "--prose-wrap=always"]
4836
- repo: https://github.com/asottile/blacken-docs
4937
rev: v1.12.0
5038
hooks:
5139
- id: blacken-docs
5240
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
5543
hooks:
56-
- id: setup-cfg-fmt
44+
- id: rst-backticks
5745
- repo: https://github.com/tox-dev/tox-ini-fmt
5846
rev: "0.5.2"
5947
hooks:
6048
- id: tox-ini-fmt
6149
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"]
6255
- repo: https://github.com/PyCQA/flake8
63-
rev: "4.0.1"
56+
rev: 4.0.1
6457
hooks:
6558
- id: flake8
6659
additional_dependencies:
6760
- flake8-bugbear==21.11.29
6861
- flake8-comprehensions==3.7
69-
- flake8-pytest-style==1.5.1
62+
- flake8-pytest-style==1.6
7063
- flake8-spellcheck==0.24
7164
- flake8-unused-arguments==0.0.9
7265
- flake8-noqa==1.2.1
7366
- 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+
- "@prettier/[email protected]"
74+
args: ["--print-width=120", "--prose-wrap=always"]
7475
- repo: https://github.com/igorshubovych/markdownlint-cli
7576
rev: v0.30.0
7677
hooks:

0 commit comments

Comments
 (0)