@@ -11,24 +11,26 @@ repos:
1111 - repo : https://github.com/pre-commit/pre-commit-hooks
1212 rev : v6.0.0
1313 hooks :
14- - id : trailing-whitespace
15- - id : end-of-file-fixer
16- exclude : ' .ipynb'
17- - id : fix-byte-order-marker
1814 - id : name-tests-test
1915 args : [ '--pytest-test-first' ]
2016 - id : no-commit-to-branch
2117 args : [ '--branch', 'main' ]
2218 - id : check-docstring-first
2319 - id : check-merge-conflict
2420 - id : check-json
21+ - id : pretty-format-json
22+ args : [ '--autofix', '--no-ensure-ascii', '--no-sort-keys' ]
23+ exclude : ' .ipynb'
2524 - id : check-toml
2625 - id : check-yaml
2726 args : [ '--allow-multiple-documents' ]
2827 - id : debug-statements
29- - id : pretty-format-json
30- args : [ '--autofix', '--no-ensure-ascii', '--no-sort-keys' ]
28+ - id : end-of-file-fixer
3129 exclude : ' .ipynb'
30+ - id : fix-byte-order-marker
31+ - id : name-tests-test
32+ args : [ '--pytest-test-first' ]
33+ - id : trailing-whitespace
3234 - repo : https://github.com/pappasam/toml-sort
3335 rev : v0.24.3
3436 hooks :
5254 - repo : https://github.com/astral-sh/ruff-pre-commit
5355 rev : v0.13.3
5456 hooks :
55- - id : ruff
56- args : [ '--fix' ]
57+ - id : ruff-check
58+ args : [ '--fix', '--show-fixes' ]
5759 - id : ruff-format
5860 - repo : https://github.com/pycqa/flake8
5961 rev : 7.3.0
6668 hooks :
6769 - id : vulture
6870# - repo: https://github.com/pre-commit/mirrors-mypy
69- # rev: v1.14.1
71+ # rev: v1.18.2
7072# hooks:
7173# - id: mypy
7274 - repo : https://github.com/codespell-project/codespell
7678 additional_dependencies : [ 'tomli' ]
7779 args : [ '--toml=pyproject.toml' ]
7880# - repo: https://github.com/numpy/numpydoc
79- # rev: v1.8 .0
81+ # rev: v1.9 .0
8082# hooks:
8183# - id: numpydoc-validation
8284# exclude: ^docs/|^tests/
0 commit comments