Skip to content

Commit 81e580d

Browse files
MiWeissclaude
andcommitted
🔧 Update pre-commit config (py310, drop setup-cfg-fmt, bump revs)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent aa37698 commit 81e580d

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.5.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -25,35 +25,31 @@ repos:
2525
- id: rst-directive-colons
2626
- id: rst-inline-touching-normal
2727
- repo: https://github.com/psf/black
28-
rev: 24.2.0
28+
rev: 26.5.1
2929
hooks:
3030
- id: black
3131
args: [--safe, --quiet, --line-length=100]
3232
- repo: https://github.com/PyCQA/autoflake
33-
rev: v2.3.0
33+
rev: v2.3.3
3434
hooks:
3535
- id: autoflake
3636
args: [--in-place, --remove-unused-variable]
3737
- repo: https://github.com/pycqa/isort
38-
rev: 5.13.2
38+
rev: 8.0.1
3939
hooks:
4040
- id: isort
4141
name: isort
4242
args: ["--force-single-line", "--line-length=100", "--profile=black"]
4343
- repo: https://github.com/asottile/pyupgrade
44-
rev: v3.15.1
44+
rev: v3.21.2
4545
hooks:
4646
- id: pyupgrade
47-
args: [--py36-plus]
47+
args: [--py310-plus]
4848
- repo: https://github.com/PyCQA/flake8
49-
rev: 7.0.0
49+
rev: 7.3.0
5050
hooks:
5151
- id: flake8
5252
args: ["--ignore=E722,W503,E203", --max-line-length=110, "--per-file-ignores=*/__init__.py:F401"]
53-
- repo: https://github.com/asottile/setup-cfg-fmt
54-
rev: v2.5.0
55-
hooks:
56-
- id: setup-cfg-fmt
5753
- repo: https://github.com/HunterMcGushion/docstr_coverage
5854
rev: v2.3.2
5955
hooks:

0 commit comments

Comments
 (0)