forked from aiidateam/kiwipy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
61 lines (57 loc) · 1.57 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
50
51
52
53
54
55
56
57
58
59
60
61
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-encoding-pragma
exclude: &exclude_files >
(?x)^(
docs/.*|
)$
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/mgedmin/check-manifest
rev: "0.44"
hooks:
- id: check-manifest
- repo: https://github.com/ikamensh/flynt/
rev: "0.55"
hooks:
- id: flynt
args: ["--line-length=120", "--fail-on-change"]
- repo: https://github.com/pre-commit/mirrors-yapf
rev: v0.30.0
hooks:
- id: yapf
types: [python]
- repo: https://github.com/PyCQA/pylint
rev: pylint-2.5.2
hooks:
- id: pylint
additional_dependencies:
[
"shortuuid",
"async_generator",
"pytray>=0.2.2, <0.4.0",
"deprecation",
"aio-pika",
"pyyaml~=5.1",
"pytest~=5.4",
"pytest-notebook",
"pika",
"msgpack",
]
args:
[
"--max-line-length=120",
"--disable=duplicate-code",
"--disable=import-outside-toplevel",
"--disable=missing-docstring",
"--disable=bad-continuation",
"--disable=locally-disabled",
"--disable=too-few-public-methods",
"--disable=too-many-arguments",
"--disable=too-many-instance-attributes",
]
exclude: *exclude_files