aboutsummaryrefslogtreecommitdiffstats
path: root/python/pytest.ini
blob: a84da913d9c2ff612cfa56d42809ae51938fd549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[pytest]

# allow imports from files in current directory
python_paths = .

# search for 'test_*' functions in all python files, not just under tests
python_files = *.py

addopts = --pylint --pylint-rcfile=.pylintrc --pylint-error-types=EF --pylint-jobs=4

# ignore various third party warnings (in .venv)
filterwarnings =
    ignore:.*common_exception_handling.*StopIteration:PendingDeprecationWarning
    ignore:.*deprecated and will be removed in Werkzeug 1.0.*:DeprecationWarning
    ignore::DeprecationWarning:.*surt
    ignore::DeprecationWarning:.*urllib3
    ignore::DeprecationWarning:.*wayback
    ignore::DeprecationWarning:.*PIL

log_level = INFO