From 67670169d0779217cc393fac254d3fa1e8c1706c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 25 Sep 2019 22:25:42 -0700 Subject: pylint as part of pytest; update lint config --- python/pytest.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'python/pytest.ini') diff --git a/python/pytest.ini b/python/pytest.ini index 0a5e921..61c9351 100644 --- a/python/pytest.ini +++ b/python/pytest.ini @@ -1,8 +1,20 @@ [pytest] +ignore = setup.py + # 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 + +# 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:.*deprecated and will be removed in Werkzeug 1.0.*:DeprecationWarning + +log_level = INFO -- cgit v1.2.3