-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
35 lines (34 loc) · 981 Bytes
/
.pre-commit-config.yaml
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.6.0"
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/rbubley/mirrors-prettier
rev: "v3.3.3"
hooks:
- id: prettier
args:
- --no-error-on-unmatched-pattern
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: "v0.14.0"
hooks:
- id: markdownlint-cli2
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.6.8"
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.11.2"
hooks:
- id: mypy
additional_dependencies:
- django-stubs[compatible-mypy] ~= 5.0
ci:
autofix_commit_msg: "style: fix issues from Pre-commit hooks"
autoupdate_commit_msg: "chore(deps-dev): update Pre-commit hooks"