File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ default_stages: [pre-commit]
1212repos :
1313 # General file checks and fixers
1414 - repo : https://github.com/pre-commit/pre-commit-hooks
15- rev : v5 .0.0
15+ rev : v6 .0.0
1616 hooks :
1717 - id : end-of-file-fixer
1818 name : " Ensure files end with a single newline"
@@ -48,37 +48,34 @@ repos:
4848 name : " Check YAML"
4949
5050 - repo : https://github.com/psf/black-pre-commit-mirror
51- rev : 24.10 .0
51+ rev : 25.11 .0
5252 hooks :
5353 - id : black
5454 name : " Format with Black"
5555 args :
56- - ' --target-version=py39'
5756 - ' --target-version=py310'
5857 files : ' ^(peps/conf\.py|pep_sphinx_extensions/tests/.*)$'
5958
6059 - repo : https://github.com/astral-sh/ruff-pre-commit
61- rev : v0.7.0
60+ rev : v0.14.4
6261 hooks :
63- - id : ruff
62+ - id : ruff-check
6463 name : " Lint with Ruff"
6564 args :
6665 - ' --exit-non-zero-on-fix'
67- files : ' ^pep_sphinx_extensions/tests/'
66+ files : ' ^( pep_sphinx_extensions/tests/|release_management/) '
6867 - id : ruff-format
6968 name : " Format with Ruff"
70- args :
71- - ' --check'
7269 files : ' ^release_management/'
7370
7471 - repo : https://github.com/tox-dev/tox-ini-fmt
75- rev : 1.4.1
72+ rev : 1.7.0
7673 hooks :
7774 - id : tox-ini-fmt
7875 name : " Format tox.ini"
7976
8077 - repo : https://github.com/sphinx-contrib/sphinx-lint
81- rev : v1.0.0
78+ rev : v1.0.1
8279 hooks :
8380 - id : sphinx-lint
8481 name : " Sphinx lint"
9996
10097 # Manual codespell check
10198 - repo : https://github.com/codespell-project/codespell
102- rev : v2.3.0
99+ rev : v2.4.1
103100 hooks :
104101 - id : codespell
105102 name : " Check for common misspellings in text files"
Original file line number Diff line number Diff line change 11output-format = " full"
22target-version = " py310"
3+ fix = true
34
45[lint ]
56ignore = [
Original file line number Diff line number Diff line change 33import dataclasses
44import json
55
6- from release_management import ROOT_DIR , load_python_releases
6+ from release_management import load_python_releases
77
88TYPE_CHECKING = False
99if TYPE_CHECKING :
You can’t perform that action at this time.
0 commit comments