-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
74 lines (68 loc) · 1.53 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
64
65
66
67
68
69
70
71
72
73
74
# isort
[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",
]
# pylint
# TOML support in pylint has shortcomings:
# - numeric values must be expressed as strings (e.g. max-line-length)
# - TOML lists are not supported, strings should be used (with comma-separated values)
# See https://github.com/PyCQA/pylint/issues/3538 for the latter (at least)
[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,
bad-continuation,
cyclic-import,
duplicate-code,
fixme,
file-ignored,
import-outside-toplevel,
invalid-name,
locally-enabled,
locally-disabled,
missing-docstring,
no-init,
no-member,
no-self-use,
old-style-class,
protected-access,
redefined-variable-type,
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
"""