Skip to content

Commit e0a4db0

Browse files
committed
ci: Update linters and run with py3.13
* Bump pre-commit and linter library versions * Run pre-commit under py3.13 (3.14 has library issues that need to resolve upstream.)
1 parent 64743ec commit e0a4db0

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
default_language_version:
2-
python: python3.11
2+
python: python3.13
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
5+
rev: v6.0.0
66
hooks:
77
- id: check-ast
88
- id: check-builtin-literals
@@ -15,59 +15,59 @@ repos:
1515
- id: trailing-whitespace
1616
- id: name-tests-test
1717
- repo: https://github.com/asottile/add-trailing-comma
18-
rev: v3.1.0
18+
rev: v3.2.0
1919
hooks:
2020
- id: add-trailing-comma
2121
args: ["--py36-plus"]
2222
- repo: https://github.com/asottile/pyupgrade
23-
rev: v3.13.0
23+
rev: v3.21.0
2424
hooks:
2525
- id: pyupgrade
2626
args: ["--py37-plus"]
2727
- repo: https://github.com/PyCQA/isort
28-
rev: 5.12.0
28+
rev: 6.1.0
2929
hooks:
3030
- id: isort
3131
args: ["--profile", "black", "--filter-files"]
3232
- repo: https://github.com/psf/black
33-
rev: 23.9.1
33+
rev: 25.9.0
3434
hooks:
3535
- id: black
3636
- repo: https://github.com/asottile/blacken-docs
37-
rev: 1.16.0
37+
rev: 1.20.0
3838
hooks:
3939
- id: blacken-docs
40-
additional_dependencies: [black==23.9.1]
40+
additional_dependencies: [black==25.9.0]
4141
- repo: https://github.com/pre-commit/pygrep-hooks
4242
rev: v1.10.0
4343
hooks:
4444
- id: rst-backticks
4545
- repo: https://github.com/tox-dev/tox-ini-fmt
46-
rev: "1.3.1"
46+
rev: "1.7.0"
4747
hooks:
4848
- id: tox-ini-fmt
4949
args: ["-p", "lint"]
5050
- repo: https://github.com/PyCQA/flake8
51-
rev: 6.1.0
51+
rev: 7.3.0
5252
hooks:
5353
- id: flake8
5454
additional_dependencies:
55-
- flake8-bugbear==23.3.12
56-
- flake8-comprehensions==3.11.1
57-
- flake8-pytest-style==1.7.2
55+
- flake8-bugbear==24.12.12
56+
- flake8-comprehensions==3.17.0
57+
- flake8-pytest-style==2.1.0
5858
- flake8-unused-arguments==0.0.13
59-
- flake8-noqa==1.3.1
60-
- pep8-naming==0.13.3
59+
- flake8-noqa==1.4.0
60+
- pep8-naming==0.15.1
6161
- flake8-pyproject==1.2.3
6262
- repo: https://github.com/PyCQA/doc8
63-
rev: v1.1.1
63+
rev: v2.0.0
6464
hooks:
6565
- id: doc8
6666
- repo: meta
6767
hooks:
6868
- id: check-hooks-apply
6969
- id: check-useless-excludes
7070
- repo: https://github.com/rhysd/actionlint
71-
rev: v1.6.26
71+
rev: v1.7.7
7272
hooks:
7373
- id: actionlint

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ commands =
2424
pytest tests/
2525

2626
[testenv:lint]
27-
base_python = py314
27+
base_python = py313
2828
deps =
2929
pre-commit>=3.2
3030
commands =
@@ -83,5 +83,5 @@ python =
8383
3.10 = py310
8484
3.11 = py311
8585
3.12 = py312
86-
3.13 = py313
87-
3.14 = lint, py314, docs, pkg_meta
86+
3.13 = lint, py313
87+
3.14 = py314, docs, pkg_meta

0 commit comments

Comments
 (0)