-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
62 lines (52 loc) · 1.25 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 = 90
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
include = '\.pyi?$'
exclude = '''
/(
)/
'''
[tool.isort]
profile = "black"
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"
allow_redefinition = true
[tool.pydocstyle]
ignore = [
"D105", # Missing docstring in magic method
"D107", # Missing docstring in __init__
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
]
[tool.pylint.main]
ignore = ["setup.py"]
[tool.pylint."messages control"]
disable = [
"raw-checker-failed",
"bad-inline-option",
"locally-disabled",
"file-ignored",
"suppressed-message",
"useless-suppression",
"deprecated-pragma",
"use-symbolic-message-instead",
"import-error",
"fixme",
"redefined-outer-name"
]
[tool.pylint.format]
max-line-length = 120
[tool.pylint.basic]
good-names = ["db", "op", "d", "f", "i", "j", "k", "r", "m", "t"]
[tool.pylint.classes]
max-args = 8
min-public-methods = 1
[tool.pylint.design]
max-args = 8
min-public-methods = 1
max-attributes = 10
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]