-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
34 lines (31 loc) · 1.01 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
# pyproject.toml
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--color=yes --cov-report=xml --cov-report=term --cov=sira"
testpaths = ["tests"]
filterwarnings = "ignore::DeprecationWarning"
log_cli = 1
log_cli_level = "ERROR"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
markers = [
"modelrun: marks tests of direct model runs",
"bad_or_missing_inputfile: checks code for incorrectly named or missing input files",
"missinginputdir: checks for missing input directory",
"algorithms: marks tests for responsemodels",
"modelfitting: tests for fitting distribution models to exceedance probability data",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks integration tests"
]
[tool.coverage.paths]
source = ["sira"]
[tool.coverage.run]
branch = false
omit = [
"./sira/tools/*",
"*/tests/*"
]
[tool.coverage.report]
skip_empty = true
show_missing = false
ignore_errors = true