@@ -15,7 +15,7 @@ exclude: |
1515 )
1616repos :
1717 - repo : https://github.com/pre-commit/pre-commit-hooks
18- rev : v5 .0.0
18+ rev : 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6 .0.0
1919 hooks :
2020 - id : check-added-large-files
2121 - id : check-docstring-first
2929 - id : trailing-whitespace
3030 exclude_types : [diff, svg]
3131 - repo : https://github.com/pre-commit/mirrors-mypy
32- rev : v1.15.0
32+ rev : 0f369d245750787ce34997d464ed9605391a5283 # frozen: v1.20.1
3333 hooks :
3434 - id : mypy
3535 additional_dependencies :
@@ -42,16 +42,15 @@ repos:
4242 args : ["--config-file=pyproject.toml", "lib/matplotlib"]
4343 files : lib/matplotlib # Only run when files in lib/matplotlib are changed.
4444 pass_filenames : false
45-
4645 - repo : https://github.com/astral-sh/ruff-pre-commit
4746 # Ruff version.
48- rev : v0.15.11
47+ rev : d1b833175a5d08a925900115526febd8fe71c98e # frozen: v0.15.11
4948 hooks :
5049 # Run the linter.
51- - id : ruff
50+ - id : ruff-check
5251 args : [--fix, --show-fixes]
5352 - repo : https://github.com/codespell-project/codespell
54- rev : v2.4.1
53+ rev : 2ccb47ff45ad361a21071a7eedda4c37e6ae8c5a # frozen: v2.4.2
5554 hooks :
5655 - id : codespell
5756 files : ^.*\.(py|c|cpp|h|m|md|rst|yml)$
@@ -61,25 +60,25 @@ repos:
6160 - " --skip"
6261 - " doc/project/credits.rst"
6362 - repo : https://github.com/pycqa/isort
64- rev : 6 .0.1
63+ rev : a333737ed43df02b18e6c95477ea1b285b3de15a # frozen: 8 .0.1
6564 hooks :
6665 - id : isort
6766 name : isort (python)
6867 files : ^galleries/tutorials/|^galleries/examples/|^galleries/plot_types/
6968 - repo : https://github.com/rstcheck/rstcheck
70- rev : v6.2.4
69+ rev : 77490ffa33bfc0928975ae3cf904219903db755d # frozen: v6.2.5
7170 hooks :
7271 - id : rstcheck
7372 additional_dependencies :
7473 - sphinx>=1.8.1
7574 - tomli
7675 - repo : https://github.com/adrienverge/yamllint
77- rev : v1.37 .0
76+ rev : cba56bcde1fdd01c1deb3f945e69764c291a6530 # frozen: v1.38 .0
7877 hooks :
7978 - id : yamllint
8079 args : ["--strict", "--config-file=.yamllint.yml"]
8180 - repo : https://github.com/python-jsonschema/check-jsonschema
82- rev : 0.33.0
81+ rev : 13614ab716a3113145f1294ed259d9fbe5678ff3 # frozen: 0.37.1
8382 hooks :
8483 # TODO: Re-enable this when https://github.com/microsoft/azure-pipelines-vscode/issues/567 is fixed.
8584 # - id: check-azure-pipelines
0 commit comments