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

ignore = setup.py

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

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

# these are internal to raven (sentry client) and misaka (Markdown client)
filterwarnings =
    ignore:.*common_exception_handling.*StopIteration:PendingDeprecationWarning
    ignore:passing extensions and flags as constants is deprecated:DeprecationWarning
    ignore:.*authlib.specs.*:authlib.deprecate.AuthlibDeprecationWarning
    ignore:Using or importing the ABCs.*:DeprecationWarning
    ignore:direct construction of PyLintItem.*:_pytest.warning_types.PytestDeprecationWarning

log_level = INFO