-
Notifications
You must be signed in to change notification settings - Fork 12
/
pyproject.toml
108 lines (98 loc) · 1.77 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[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
[tool.mypy]
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
disallow_untyped_defs = true
ignore_missing_imports = true
exclude = [
".eggs",
".git",
".tox",
".venv",
".build",
"build",
"lib",
"report",
"tests",
"docs"
]
[tool.coverage.run]
relative_files = true
concurrency = ["gevent"]
source = ["."]
omit = [
"tests/**",
"docs/**",
"lib/**",
"snap/**",
"build/**",
"setup.py",
]
[tool.coverage.report]
fail_under = 100
show_missing = true
[tool.coverage.html]
directory = "tests/unit/report/html"
[tool.coverage.xml]
output = "tests/unit/report/coverage.xml"
[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",
]