-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
67 lines (59 loc) · 1.22 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
[build-system]
requires = [
"setuptools>=42",
"wheel==0.36.2",
]
build-backend = "setuptools.build_meta"
[tool.isort]
line_length = 120
profile = "black"
[tool.flake8]
max-line-length = 120
exclude = "build/*, data/*"
per-file-ignores = "tests/*:D1"
docstring-convention = "google"
ignore = "W605, W503, N812, N817, D100, D101, D102, D103, D104, D105, D107"
[tool.mypy]
python_version = "3.10"
warn_unused_configs = true
disallow_untyped_defs = true
ignore_missing_imports = true
disable_error_code = [
"attr-defined"
]
files = [
"dishwashers/**/*.py",
"tests/**/*.py"
]
[tool.pytest.ini_options]
pythonpath = [
"."
]
testpaths = [
"tests",
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
addopts = "--basetemp tests/pytest_basetemp"
cache_dir = "tests/.pytest_cache"
junit_suite_name = "test_training"
junit_family = "xunit1"
filterwarnings = [
'ignore::DeprecationWarning'
]
[tool.coverage.run]
branch = false
omit = [
"tests/*",
]
data_file = "tests/reports/.coverage"
[tool.coverage.report]
ignore_errors = false
fail_under = 80
precision = 0
show_missing = true
[tool.coverage.xml]
output = "tests/reports/coverage.xml"
[tool.coverage.html]
directory = "tests/reports/htmlcov"