forked from Axonius/axonius_api_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
29 lines (26 loc) · 1.26 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta:__legacy__"
[tool.pytest.ini_options]
addopts = "--verbosity=2 -ra --strict-config --strict-markers --showlocals --cov-config=.coveragerc --cov=axonius_api_client --cov-report=html --cov-report=xml --cov-report=term:skip-covered --cov-append"
testpaths = ["axonius_api_client/tests"]
log_format = "%(asctime)s %(levelname)-8s [%(name)s:%(funcName)s:%(pathname)s:%(lineno)d] %(message)s"
log_level = "DEBUG"
log_file = "artifacts/pytest.log"
filterwarnings = [
"error",
'ignore:The distutils package:DeprecationWarning',
'ignore:ssl.wrap_socket\(\) is deprecated:DeprecationWarning',
'ignore:ssl.PROTOCOL_TLS is deprecated:DeprecationWarning',
'ignore:distutils Version classes:DeprecationWarning',
"ignore::marshmallow.warnings.RemovedInMarshmallow4Warning",
"ignore::urllib3.exceptions.InsecureRequestWarning",
"ignore::pytest.PytestUnraisableExceptionWarning",
"ignore::pytest.PytestUnhandledThreadExceptionWarning",
]
# "ignore::axonius_api_client.exceptions.ApiAttributeExtraWarning",
# including package exceptions causes coverage to bust?
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"datafiles: load a set of datafiles"
]