-
-
Notifications
You must be signed in to change notification settings - Fork 320
/
pyproject.toml
62 lines (61 loc) · 1.13 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
[tool.black]
line-length = 100
target-version = ['py36', 'py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| virtualenv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
known_third_party = "invoke,pkg_resources"
multi_line_output = 3
include_trailing_comma = "True"
force_grid_wrap = 0
use_parentheses = "True"
line_length = 100
[tool.pylint.master]
extension-pkg-whitelist = "pydantic"
ignore = "CVS"
suggestion-mode = "yes"
[tool.pylint.messages_control]
disable = '''
duplicate-code,
line-too-long,
logging-fstring-interpolation,
bad-continuation,
'''
[tool.pylint.logging]
logging-modules = "logging"
[tool.pylint.imports]
allow-wildcard-with-all = "no"
[tool.pylint.format]
indent-after-paren = "4"
max-line-length = "100" # matches black setting
max-module-lines = "800"
no-space-check = '''
trailing-comma,
dict-separator
'''
single-line-class-stmt = "no"
single-line-if-stmt = "no"
[tool.pylint.miscellaneous]
notes= '''
FIXME,
XXX
'''
[tool.pylint.similarities]
ignore-comments = "yes"
ignore-docstrings = "yes"
ignore-imports = "no"
min-similarity-lines = "4"