-
-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
78 lines (76 loc) · 2.26 KB
/
.pre-commit-config.yaml
File metadata and controls
78 lines (76 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
ci:
autoupdate_schedule: monthly
default_language_version:
python: python3.14
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: end-of-file-fixer
exclude: |
(?x)^(
example/example/static/ext/debug\.js
|src/django_htmx/static/django_htmx/htmx\.min\.js
)$
- id: trailing-whitespace
- repo: https://github.com/crate-ci/typos
rev: f06b85043a5ab470afbb0a5592456e733243983a # frozen: v1
hooks:
- id: typos
exclude: |
(?x)^(
.*\.min\.js
|.*\.svg
)$
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 6e10264313f53d6247a8b1b984f5b5ccf50ba539 # frozen: v2.21.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: a55736a49694e73b4b885c78a827d9771515b9dd # frozen: 1.7.1
hooks:
- id: tox-ini-fmt
- repo: https://github.com/rstcheck/rstcheck
rev: 27258fde1ee7d3b1e6a7bbc58f4c7b1dd0e719e5 # frozen: v6.2.5
hooks:
- id: rstcheck
additional_dependencies:
- sphinx==8.1.3
- tomli==2.2.1
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: c883505f64b59c3c5c9375191e4ad9f98e727ccd # frozen: v1.0.2
hooks:
- id: sphinx-lint
- repo: https://github.com/adamchainz/django-upgrade
rev: 4864562a5d05a7ff3bce99bc31f892eeb396fc00 # frozen: 1.30.0
hooks:
- id: django-upgrade
- repo: https://github.com/adamchainz/blacken-docs
rev: dda8db18cfc68df532abf33b185ecd12d5b7b326 # frozen: 1.20.0
hooks:
- id: blacken-docs
additional_dependencies:
- black==25.1.0
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: c60c980e561ed3e73101667fe8365c609d19a438 # frozen: v0.15.9
hooks:
- id: ruff-check
args: [ --fix ]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 8e5c80792e2ec0c87804d8ef915bf35e2caea6da # frozen: v1.20.0
hooks:
- id: mypy
additional_dependencies:
- django-stubs==5.1.2
- types-python-dateutil
- repo: https://github.com/adamchainz/djade-pre-commit
rev: 52a7ce253113456c2a1113186a4a19b15c8b68af # frozen: 1.9.0
hooks:
- id: djade