forked from Pierre-Sassoulas/django-debug-false-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
49 lines (48 loc) · 1.24 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ci:
skip: [pylint]
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.261"
hooks:
- id: ruff
exclude: tests/fixture
args: ["--fix", "--select", "F,E,W,I"]
- repo: https://github.com/Pierre-Sassoulas/django-debug-false-checker/
rev: v0.0.4
hooks:
- id: django-debug-false-checker
exclude: tests/
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
exclude: tests/fixture
args: [--safe, --quiet]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
hooks:
- id: pyupgrade
exclude: tests/fixture
args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.1.1
hooks:
- id: mypy
entry: mypy
language: python
types_or: [python, pyi]
exclude: tests/fixture
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
exclude: tests
args: ["-sn", "-rn", "--disable=C0111,C0103"]
types: [python]