-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (48 loc) · 974 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
45
46
47
48
49
50
51
52
53
[tool.pytest.ini_options]
# https://docs.pytest.org/en/stable/customize.html
addopts = '''
-ra
--tb=line
-W error
--doctest-modules
'''
# -ra: show extra test summary [...] (a)ll except passed [...]
# --tb=style: traceback print mode (auto/long/short/line/native/no)
# -W: set which warnings to report, "error" turns matching warnings into exceptions
norecursedirs = [
".dvc",
".git",
".github",
".pytest_cache",
".ipynb_checkpoints",
"data",
"data-simulation",
"__pycache__",
]
[tool.coverage.run]
# https://coverage.readthedocs.io/en/latest/config.html
branch = true
omit = [
"tests/test*",
]
[tool.coverage.report]
show_missing = true
[tool.coverage.html]
directory = "htmlcov"
[tool.black]
# https://black.readthedocs.io/en/stable/pyproject_toml.html
line-length = 99
target-version = ['py38']
exclude = '''
(
/(
\.git
| \.github
| \.pytest_cache
| \.ipynb_checkpoints
| \.dvc
| \data
| \data-simulation
)/
)
'''