-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pre-commit-config.yaml
39 lines (38 loc) · 989 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
36
37
38
39
ci:
skip: [pylint]
repos:
- repo: https://github.com/Pierre-Sassoulas/black-disable-checker/
rev: v1.1.3
hooks:
- id: black-disable-checker
exclude: black_disable_checker/__main__.py|tests/
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
args: [--safe, --quiet]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: [--prose-wrap=always, --print-width=88]
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.2
hooks:
- id: pyupgrade
exclude: tests/fixture
args: [--py37-plus]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
exclude: tests/fixture
- repo: local
hooks:
- id: pylint
name: pylint
entry: pylint
language: system
exclude: tests
args: ["-sn", "-rn", "--disable=C0111,C0103"]
types: [python]