44
55repos :
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,38 @@ 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
30+ - repo : https://github.com/pre-commit/pygrep-hooks
31+ rev : " v1.10.0"
32+ hooks :
33+ - id : rst-backticks
34+ - id : rst-directive-colons
35+ - id : rst-inline-touching-normal
36+
2937- repo : https://github.com/astral-sh/ruff-pre-commit
30- rev : " v0.0.292 "
38+ rev : " v0.1.9 "
3139 hooks :
3240 - id : ruff
3341 args : ["--fix", "--show-fixes"]
3442
3543- repo : https://github.com/psf/black-pre-commit-mirror
36- rev : 23.9 .1
44+ rev : 23.12 .1
3745 hooks :
3846 - id : black-jupyter
47+ types_or : [python, pyi, jupyter]
3948
4049- repo : https://github.com/adamchainz/blacken-docs
4150 rev : 1.16.0
4251 hooks :
4352 - id : blacken-docs
44- additional_dependencies : [black==23.7.0 ]
53+ additional_dependencies : [black==23.12.1 ]
4554
4655- repo : https://github.com/pre-commit/mirrors-mypy
47- rev : v1.5.1
56+ rev : v1.8.0
4857 # check the oldest and newest supported Pythons
4958 hooks :
5059 - &mypy
@@ -58,13 +67,6 @@ repos:
5867 name : mypy with Python 3.11
5968 args : ["--python-version=3.11"]
6069
61- - repo : https://github.com/nbQA-dev/nbQA
62- rev : 1.7.0
63- hooks :
64- - id : nbqa-ruff
65- additional_dependencies : [ruff==0.0.292]
66- args : ["--extend-ignore=F821,F401,F841,F811"]
67-
6870- repo : https://github.com/codespell-project/codespell
6971 rev : v2.2.6
7072 hooks :
0 commit comments