-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
62 lines (53 loc) · 1.14 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.flake8]
ignore = ["C901", "D100", "D101", "D102", "D103", "W503", "W504"]
exclude = ['.eggs', '.git', '.tox', '.venv', '.build', 'build', 'report']
max-line-length = 99
max-complexity = 10
[tool.black]
line-length = 99
exclude = '''
/(
| .eggs
| .git
| .tox
| .venv
| .build
| build
| report
)/
'''
[tool.isort]
profile = "black"
skip_glob = [
".eggs",
".git",
".tox",
".venv",
".build",
"build",
"report"
]
[tool.pylint]
max-line-length = 99
ignore = ['.eggs', '.git', '.tox', '.venv', '.build', 'report', 'tests']
[tool.mypy]
warn_unused_ignores = true
warn_unused_configs = true
warn_unreachable = true
disallow_untyped_defs = true
exclude = ['.eggs', '.git', '.tox', '.venv', '.build', 'report', 'tests']
## Ignore unsupported imports
[[tool.mypy.overrides]]
ignore_missing_imports = true
module = ["setuptools"]
[tool.coverage.run]
relative_files = true
source = ["."]
omit = ["docs/**", "lib/**", "snap/**", "build/**", "setup.py"]
[tool.coverage.report]
fail_under = 100
show_missing = true
[tool.coverage.html]
directory = "tests/report/html"
[tool.coverage.xml]
output = "tests/report/coverage.xml"