aboutsummaryrefslogtreecommitdiffstats
path: root/python/pytest.ini
blob: 034a68e7a57e91051e98956879f8900bb5b1320f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[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
    ignore::DeprecationWarning:.*justext

log_level = INFO