-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
90 lines (84 loc) · 1.5 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[tool.flake8]
ignore = ["C901", "D100", "D101", "D102", "D103", "W503", "W504"]
exclude = ['.eggs', '.git', '.tox', '.venv', '.build', 'build', 'report', 'docs']
max-line-length = 99
max-complexity = 10
extend-ignore = ["E203", "E704"]
[tool.black]
line-length = 99
exclude = '''
/(
| .eggs
| .git
| .tox
| .venv
| .build
| build
| report
| docs
)/
'''
[tool.isort]
profile = "black"
skip_glob = [
".eggs",
".git",
".tox",
".venv",
".build",
"build",
"report",
"docs"
]
[tool.pylint]
max-line-length = 99
load-plugins = "pylint.extensions.docparams"
ignore-paths = [
".eggs",
".git",
".tox",
".venv",
".build",
"build",
"report",
"tests",
"docs"
]
no-docstring-rgx = "__.*__"
default-docstring-type = "sphinx"
accept-no-param-doc = false
accept-no-raise-doc = false
accept-no-return-doc = false
accept-no-yields-doc = false
disable = [
"import-error",
"consider-using-f-string",
"missing-type-doc",
]
[tool.mypy]
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
disallow_untyped_defs = false
ignore_missing_imports = true
exclude = [
".eggs",
".git",
".tox",
".venv",
".build",
"build",
"lib",
"report",
"tests",
"docs"
]
[tool.codespell]
skip = ".eggs,.tox,.git,.venv,venv,build,.build,lib,report,docs"
quiet-level = 3
check-filenames = true
ignore-words-list = "assertIn"
[tool.pytest.ini_options]
filterwarnings = [
"ignore::RuntimeWarning",
]