1111 submodules : false
1212repos :
1313 - repo : https://github.com/pre-commit/pre-commit-hooks
14- rev : v4.6 .0
14+ rev : v6.0 .0
1515 hooks :
1616 - id : check-yaml
1717 - id : end-of-file-fixer
@@ -21,46 +21,46 @@ repos:
2121 - id : check-toml
2222 - id : check-added-large-files
2323 - repo : https://github.com/psf/black
24- rev : 24.4.2
24+ rev : 26.3.1
2525 hooks :
2626 - id : black
2727 - repo : https://github.com/pycqa/flake8
28- rev : 7.0 .0
28+ rev : 7.3 .0
2929 hooks :
3030 - id : flake8
3131 - repo : https://github.com/pycqa/isort
32- rev : 5.13.2
32+ rev : 8.0.1
3333 hooks :
3434 - id : isort
3535 args : ["--profile", "black"]
3636 - repo : https://github.com/kynan/nbstripout
37- rev : 0.7 .1
37+ rev : 0.9 .1
3838 hooks :
3939 - id : nbstripout
4040 - repo : https://github.com/pre-commit/pre-commit-hooks
41- rev : v4.4 .0
41+ rev : v6.0 .0
4242 hooks :
4343 - id : no-commit-to-branch
4444 name : Prevent Commit to Main Branch
4545 args : ["--branch", "main"]
4646 stages : [pre-commit]
4747 - repo : https://github.com/codespell-project/codespell
48- rev : v2.3.0
48+ rev : v2.4.2
4949 hooks :
5050 - id : codespell
5151 additional_dependencies :
5252 - tomli
5353 # prettier - multi formatter for .json, .yml, and .md files
5454 - repo : https://github.com/pre-commit/mirrors-prettier
55- rev : f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8
55+ rev : v4.0.0-alpha.8
5656 hooks :
5757 - id : prettier
5858 additional_dependencies :
5959 - " prettier@^3.2.4"
60- # docformatter - PEP 257 compliant docstring formatter
61- - repo : https://github.com/s-weigand/docformatter
62- rev : 5757c5190d95e5449f102ace83df92e7d3b06c6c
60+ types : [yaml, markdown, json]
61+ # ruff - An extremely fast Python linter and code formatter, written in Rust.
62+ - repo : https://github.com/astral-sh/ruff-pre-commit
63+ rev : v0.15.12
6364 hooks :
64- - id : docformatter
65- additional_dependencies : [tomli]
66- args : [--in-place, --config, ./pyproject.toml]
65+ - id : ruff-check
66+ args : [--fix, --config=pyproject.toml]
0 commit comments