summaryrefslogtreecommitdiffstats
path: root/python/pytest.ini
blob: cf98f869afcc378bea3d28e3a41b4be3e30f2b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[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
    ignore:.*pytz-deprecation-shim
    ignore:.*removed in Jinja 3:DeprecationWarning

log_level = INFO