-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (38 loc) · 863 Bytes
/
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
[tool.black]
line-length = 120
target-version = ["py39"]
[tool.isort]
profile = "black"
line_length = 120
known_first_party = ["netznoe_smartmeter_portal_api", "tests"]
[tool.flake8]
max-line-length = 120
exclude = ["venv"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.mypy]
python_version = "3.9"
exclude = ["example_pendulum.py"]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
no_implicit_optional = true
strict_equality = true
strict_concatenate = true
disallow_incomplete_defs = true
check_untyped_defs = true
[tool.pytest.ini_options]
pythonpath = ["src"]
addopts = """
--cov src/netznoe_smartmeter_portal_api/
--no-cov-on-fail
--cov-fail-under=90
--cov-report=term-missing
--cov-branch
"""
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]