aboutsummaryrefslogtreecommitdiffstats
path: root/python/pytest.ini
blob: 18b5dae92cefd6c81381fcc93e6814e901f742be (plain)
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
[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
    ignore::DeprecationWarning:.*internetarchive
    ignore::DeprecationWarning:.*minio
    ignore::DeprecationWarning:.*base_reporter
    ignore:.*pytz-deprecation-shim

log_level = INFO