-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
46 lines (43 loc) · 1.08 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
hooks:
- id: trailing-whitespace
- repo: local
hooks:
- id: autoflake
name: autoflake
entry: autoflake
language: system
types: [python]
args:
[
--in-place,
--remove-all-unused-imports,
--remove-duplicate-keys,
--remove-unused-variables,
]
- id: black
name: black
entry: black
language: system
types: [python]
args: [--line-length=100]
- id: pylint
name: pylint
entry: pylint
language: system
types: [python]
args:
[
--disable=missing-module-docstring,
--disable=missing-class-docstring,
--disable=missing-function-docstring,
--disable=C0103,
--disable=C0411,
--disable=R0903,
--disable=R0901,
--disable=E1101,
--disable=W0718,
--ignored-modules=migrations,
]