11repos :
22
33- repo : https://github.com/pre-commit/pre-commit-hooks
4- rev : v4.4 .0
4+ rev : v6.0 .0
55 hooks :
66 - id : trailing-whitespace
77 exclude : tests/data
@@ -15,59 +15,73 @@ repos:
1515 files : requirements-dev.txt
1616
1717- repo : https://github.com/econchick/interrogate
18- rev : 1.5 .0
18+ rev : 1.7 .0
1919 hooks :
2020 - id : interrogate
2121 exclude : ^(docs|setup.py|tests)
2222 args : [--config=pyproject.toml]
2323
2424- repo : https://github.com/keewis/blackdoc
25- rev : v0.3.8
25+ rev : v0.4.6
2626 hooks :
2727 - id : blackdoc
2828
29- - repo : https://github.com/charliermarsh /ruff-pre-commit
30- rev : v0.0.282
29+ - repo : https://github.com/astral-sh /ruff-pre-commit
30+ rev : v0.15.8
3131 hooks :
3232 - id : ruff
33-
34- - repo : https://github.com/psf/black
35- rev : 23.7.0
36- hooks :
37- - id : black
38- language_version : python3
33+ args : ["--fix", "--show-fixes"]
34+ - id : ruff-format
3935
4036- repo : https://github.com/codespell-project/codespell
41- rev : v2.2.5
37+ rev : v2.4.2
4238 hooks :
4339 - id : codespell
4440 args :
4541 - --quiet-level=2
4642
4743- repo : https://github.com/asottile/add-trailing-comma
48- rev : v3 .0.1
44+ rev : v4 .0.0
4945 hooks :
5046 - id : add-trailing-comma
5147
5248- repo : https://github.com/tox-dev/pyproject-fmt
53- rev : " 0.13 .0"
49+ rev : " v2.21 .0"
5450 hooks :
5551 - id : pyproject-fmt
5652
5753- repo : https://github.com/aio-libs/sort-all
58- rev : " v1.2 .0"
54+ rev : " v1.3 .0"
5955 hooks :
6056 - id : sort-all
6157 types : [file, python]
6258
59+ - repo : https://github.com/nbQA-dev/nbQA
60+ rev : 1.9.1
61+ hooks :
62+ - id : nbqa-check-ast
63+ - id : nbqa-black
64+ - id : nbqa-ruff
65+ args : [
66+ --fix,
67+ --config=ruff.toml,
68+ ]
69+
70+ - repo : https://github.com/bdice/nb-strip-paths
71+ rev : v0.1.0
72+ hooks :
73+ - id : nb-strip-paths
74+
75+ - repo : https://github.com/woodruffw/zizmor-pre-commit
76+ rev : v1.23.1
77+ hooks :
78+ - id : zizmor
6379
6480ci :
6581 autofix_commit_msg : |
6682 [pre-commit.ci] auto fixes from pre-commit.com hooks
6783
6884 for more information, see https://pre-commit.ci
6985 autofix_prs : false
70- autoupdate_commit_msg : ' [pre-commit.ci] pre-commit autoupdate'
71- autoupdate_schedule : monthly
7286 skip : []
7387 submodules : false
0 commit comments