-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
75 lines (66 loc) · 1.07 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
[tool.black]
line-length = 155
target-version = ['py37']
exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 155
multi_line_output = 3
include_trailing_comma = true
[tool.mypy]
python_version = "3.7"
ignore_missing_imports = true
check_untyped_defs = true
disallow_untyped_calls = true
strict = true
[tool.flake8]
max-line-length = 155
extend-ignore = [
"E203", # Conflicts with black
"W503" # Conflicts with black
]
exclude = [
".git",
".venv",
"__pycache__",
"build",
"dist",
]
[tool.pylint.MASTER]
ignore = "venv, .git"
[tool.autoflake]
remove-unused-variables = true
remove-all-unused-imports = true
[tool.pydantic-mypy]
init-forbid-extra = true
warn-untyped-fields = true
[tool.coverage.run]
branch = true
source = ["."]
omit = [
"tests/*",
"venv/*",
".venv/*",
"build/*",
"dist/*"
]
[tool.radon]
exclude = [
"tests/*",
"venv/*",
".venv/*",
"build/*",
"dist/*"
]
complexity = 'B'
[tool.xenon]
max-absolute = "A"
max-modules = "B"
max-average = "A"