11ci :
22 autoupdate_schedule : monthly
3+ autoupdate_commit_msg : " chore: update pre-commit hooks"
34
45repos :
56 - repo : https://github.com/pre-commit/pre-commit-hooks
67 rev : v4.4.0
78 hooks :
8- - id : end-of-file-fixer
99 - id : check-case-conflict
10+ - id : check-ast
11+ - id : check-docstring-first
1012 - id : check-executables-have-shebangs
11- - id : requirements-txt-fixer
1213 - id : check-added-large-files
1314 - id : check-case-conflict
15+ - id : check-merge-conflict
16+ - id : check-json
1417 - id : check-toml
1518 - id : check-yaml
1619 - id : debug-statements
17- - id : forbid-new-submodules
18- - id : check-builtin-literals
20+ - id : end-of-file-fixer
1921 - id : trailing-whitespace
2022
2123 - repo : https://github.com/python-jsonschema/check-jsonschema
@@ -27,14 +29,47 @@ repos:
2729 rev : 0.7.17
2830 hooks :
2931 - id : mdformat
32+ additional_dependencies :
33+ [mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
34+
35+ - repo : https://github.com/pre-commit/mirrors-prettier
36+ rev : " v3.0.2"
37+ hooks :
38+ - id : prettier
39+ types_or : [yaml, html, json]
40+
41+ - repo : https://github.com/adamchainz/blacken-docs
42+ rev : " 1.16.0"
43+ hooks :
44+ - id : blacken-docs
45+ additional_dependencies : [black==23.7.0]
3046
31- - repo : https://github.com/psf/black
47+ - repo : https://github.com/psf/black-pre-commit-mirror
3248 rev : 23.9.1
3349 hooks :
3450 - id : black
3551
52+ - repo : https://github.com/codespell-project/codespell
53+ rev : " v2.2.5"
54+ hooks :
55+ - id : codespell
56+ args : ["-L", "sur,nd"]
57+
58+ - repo : https://github.com/pre-commit/pygrep-hooks
59+ rev : " v1.10.0"
60+ hooks :
61+ - id : rst-backticks
62+ - id : rst-directive-colons
63+ - id : rst-inline-touching-normal
64+
3665 - repo : https://github.com/astral-sh/ruff-pre-commit
37- rev : v0.0.292
66+ rev : v0.1.1
3867 hooks :
3968 - id : ruff
40- args : ["--fix"]
69+ args : ["--fix", "--show-fixes"]
70+
71+ - repo : https://github.com/scientific-python/cookie
72+ rev : " 2023.08.23"
73+ hooks :
74+ - id : sp-repo-review
75+ additional_dependencies : ["repo-review[cli]"]
0 commit comments