-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
35 lines (29 loc) · 1.71 KB
/
Copy pathpytest.ini
File metadata and controls
35 lines (29 loc) · 1.71 KB
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
# ============== WARNING ==============================================================================
# File is managed by copier template: gh:LabAutomationAndScreening/copier-base-template.git
# See .config/.copier-managed-files.json for details.
#
# You are welcome to make changes to this file in your repo if they are custom to your project,
# but if the change should be shared with other projects, please backport it to the template repo.
# =====================================================================================================
[pytest]
# Settings managed by the base template
norecursedirs = node_modules .precommit_cache .npm_cache .pipenv_cache venv .venv .history
addopts = --cov=src --cov-report html --cov-report term-missing:skip-covered --cov-config=./.config/.coveragerc
log_cli = 1
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_cli_date_format=%Y-%m-%d %H:%M:%S
log_file = pytest.log
log_file_level = INFO
log_file_format = %(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
log_file_date_format=%Y-%m-%d %H:%M:%S
filterwarnings =
ignore:.*not yet supported by AWS Native:DeprecationWarning
ignore:.*aws\..* has been deprecated in favor of aws\.:DeprecationWarning
# for now, too many dependencies are not using latest datetime representation. too many false positives for now
ignore:.*timezone-aware objects to represent datetimes in UTC:DeprecationWarning
error::pytest.PytestUnraisableExceptionWarning
# stackoverflow.com/questions/71642742/make-pytest-fail-on-resourcewarning-unclosed-files
error::pytest.PytestUnhandledThreadExceptionWarning
xfail_strict=true
# Settings specific to this repository