forked from Polyconseil/django-cid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
63 lines (56 loc) · 1.36 KB
/
pyproject.toml
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
62
63
[tool.isort]
multi_line_output = 3
use_parentheses = true
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
line_length = 88
lines_after_imports = 2
force_single_line = true
force_sort_within_sections = true
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TESTS,LOCALFOLDER"
known_tests = ["tests"]
skip = [
"docs/conf.py",
]
[tool.pylint.MASTER]
load-plugins = [
"pylint_strict_informational",
]
[tool.pylint.REPORTS]
msg-template = "{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"
[tool.pylint.FORMAT]
max-line-length = "120"
[tool.pylint."MESSAGES CONTROL"]
enable = [
"use-symbolic-message-instead",
"useless-suppression",
]
disable = [
"arguments-differ",
"attribute-defined-outside-init",
"cyclic-import",
"duplicate-code",
"fixme",
"file-ignored",
"import-outside-toplevel",
"invalid-name",
"locally-disabled",
"missing-docstring",
"no-member",
"protected-access",
"superfluous-parens",
"too-few-public-methods",
"too-many-ancestors",
"too-many-arguments",
"too-many-branches",
"too-many-instance-attributes",
"too-many-lines",
"too-many-locals",
"too-many-public-methods",
"too-many-statements",
"ungrouped-imports",
"unused-argument",
"useless-return",
"wrong-import-order", # we have a custom isort config which pylint can't grok
]