Skip to content

Commit 43a84a4

Browse files
chore: [pre-commit.ci] pre-commit autoupdate (#2378)
* Update pre-commit hooks: - github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0 - github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.4 - github.com/psf/black-pre-commit-mirror: 23.9.1 → 23.10.1 - github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.1 * Exclude tests/constraints.txt from requirements-txt-fixer.
1 parent 899d1fd commit 43a84a4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.4.0
7+
rev: v4.5.0
88
hooks:
99
- id: check-added-large-files
1010
- id: check-case-conflict
@@ -22,29 +22,30 @@ repos:
2222
- id: name-tests-test
2323
args: ["--pytest-test-first"]
2424
- id: requirements-txt-fixer
25+
exclude: tests/constraints.txt
2526
- id: trailing-whitespace
2627
# exclude generated files
2728
exclude: ^validation/|\.dtd$|\.xml$
2829

2930
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: "v0.0.292"
31+
rev: "v0.1.4"
3132
hooks:
3233
- id: ruff
3334
args: ["--fix", "--show-fixes"]
3435

3536
- repo: https://github.com/psf/black-pre-commit-mirror
36-
rev: 23.9.1
37+
rev: 23.10.1
3738
hooks:
3839
- id: black-jupyter
3940

4041
- repo: https://github.com/adamchainz/blacken-docs
4142
rev: 1.16.0
4243
hooks:
4344
- id: blacken-docs
44-
additional_dependencies: [black==23.7.0]
45+
additional_dependencies: [black==23.10.1]
4546

4647
- repo: https://github.com/pre-commit/mirrors-mypy
47-
rev: v1.5.1
48+
rev: v1.6.1
4849
# check the oldest and newest supported Pythons
4950
hooks:
5051
- &mypy
@@ -62,7 +63,7 @@ repos:
6263
rev: 1.7.0
6364
hooks:
6465
- id: nbqa-ruff
65-
additional_dependencies: [ruff==0.0.292]
66+
additional_dependencies: [ruff==v0.1.4]
6667
args: ["--extend-ignore=F821,F401,F841,F811"]
6768

6869
- repo: https://github.com/codespell-project/codespell

0 commit comments

Comments
 (0)