66 hooks :
77 - id : isort
88 args : ["--profile", "black", "--filter-files"]
9- - repo : https://github.com/astral-sh/ruff-pre-commit
109 # Ruff
11- rev : v0.11.4
10+ - repo : https://github.com/astral-sh/ruff-pre-commit
11+ rev : v0.11.12
1212 hooks :
1313 - id : ruff
1414 args : ["--fix"]
@@ -20,24 +20,48 @@ repos:
2020 - id : end-of-file-fixer
2121 - id : check-added-large-files
2222 args : ['--maxkb=500']
23- # https://github.com/HunterMcGushion/docstr_coverage
24- # - repo: https://github.com/HunterMcGushion/docstr_coverage
25- # rev: v2.3.2 # most recent docstr-coverage release or commit sha
26- # hooks:
27- # - id: docstr-coverage
28- # args: ["--verbose", "2", "--fail-under", "70.", "v2dl5"]
2923 # Github action
3024 - repo : https://github.com/rhysd/actionlint
3125 rev : v1.7.7
3226 hooks :
3327 - id : actionlint
3428 # https://pyproject-fmt.readthedocs.io/en/latest/
3529 - repo : https://github.com/tox-dev/pyproject-fmt
36- rev : " v2.5.1 "
30+ rev : " v2.6.0 "
3731 hooks :
3832 - id : pyproject-fmt
3933 # codespell
4034 - repo : https://github.com/codespell-project/codespell
4135 rev : v2.4.1
4236 hooks :
4337 - id : codespell
38+ # markdownlint
39+ - repo : https://github.com/igorshubovych/markdownlint-cli
40+ rev : v0.45.0
41+ hooks :
42+ - id : markdownlint
43+ args : ["--disable", "MD041"]
44+ # yamllint
45+ - repo : https://github.com/adrienverge/yamllint.git
46+ rev : v1.37.1
47+ hooks :
48+ - id : yamllint
49+ args :
50+ - " --strict"
51+ - " -d"
52+ - >
53+ {
54+ extends: default,
55+ rules: {
56+ line-length: {max: 300},
57+ indentation: {spaces: 2, indent-sequences: consistent},
58+ truthy: {allowed-values: ["true", "false", "on", "off"]}
59+ }
60+ }
61+ # towncrier
62+ - repo : https://github.com/twisted/towncrier
63+ rev : 24.8.0
64+ hooks :
65+ - id : towncrier-update
66+ files : $docs/changes/
67+ args : ['--keep']
0 commit comments