11---
22repos :
33 - repo : https://github.com/pre-commit/pre-commit-hooks
4- rev : v5 .0.0
4+ rev : v6 .0.0
55 hooks :
66 - id : trailing-whitespace
77 - id : end-of-file-fixer
@@ -12,42 +12,39 @@ repos:
1212 - id : check-ast
1313 - id : check-added-large-files
1414 - repo : https://github.com/astral-sh/ruff-pre-commit
15- rev : v0.11.2
15+ rev : v0.14.9
1616 hooks :
1717 - id : ruff
1818 args : [--fix]
1919 - repo : https://github.com/psf/black
20- rev : 25.1 .0
20+ rev : 25.12 .0
2121 hooks :
2222 - id : black
2323 language_version : python3
24+ additional_dependencies : ["black[jupyter]"]
2425 - repo : https://github.com/keewis/blackdoc
25- rev : v0.3.9
26+ rev : v0.4.6
2627 hooks :
2728 - id : blackdoc
2829 additional_dependencies : ["black[jupyter]"]
29- - repo : https://github.com/pre-commit/mirrors-prettier
30- rev : " v4.0.0-alpha.8"
31- hooks :
32- - id : prettier
33- types_or : [yaml, html, css, scss, javascript, json] # markdown to avoid conflicts with mdformat
30+ files : \.(rst)$
3431 - repo : https://github.com/codespell-project/codespell
3532 rev : v2.4.1
3633 hooks :
3734 - id : codespell
3835 types_or : [python, markdown, rst]
3936 additional_dependencies : [tomli]
40- - repo : https://github.com/asottile/pyupgrade
41- rev : v3.19.1
42- hooks :
43- - id : pyupgrade
37+ # - repo: https://github.com/asottile/pyupgrade
38+ # rev: v3.20.0
39+ # hooks:
40+ # - id: pyupgrade
4441 - repo : https://github.com/MarcoGorelli/madforhooks
4542 rev : 0.4.1
4643 hooks :
4744 # - id: conda-env-sorter # conflicts with prettier
4845 - id : check-execution-order
4946 - repo : https://github.com/executablebooks/mdformat
50- rev : 0.7.22
47+ rev : 1.0.0
5148 hooks :
5249 - id : mdformat
5350 additional_dependencies : [mdformat-gfm, mdformat-black]
6158 rev : 1.9.1
6259 hooks :
6360 - id : nbqa-black
64- - id : nbqa-ruff
65- args : [--fix, "--ignore=E402,B018"]
61+ # - id: nbqa-ruff
62+ # args: [--fix, "--ignore=E402,B018"]
6663 - repo : https://github.com/pre-commit/pygrep-hooks
6764 rev : " v1.10.0"
6865 hooks :
0 commit comments