aboutsummaryrefslogtreecommitdiffstats
path: root/python/pytest.ini
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-09-25 22:25:42 -0700
committerBryan Newbold <bnewbold@archive.org>2019-09-25 22:25:42 -0700
commit67670169d0779217cc393fac254d3fa1e8c1706c (patch)
tree71c02537628891295889d5976f0ecfff0d880121 /python/pytest.ini
parentd632719af83f3ac7a80233c714f2801762d3825d (diff)
downloadsandcrawler-67670169d0779217cc393fac254d3fa1e8c1706c.tar.gz
sandcrawler-67670169d0779217cc393fac254d3fa1e8c1706c.zip
pylint as part of pytest; update lint config
Diffstat (limited to 'python/pytest.ini')
-rw-r--r--python/pytest.ini12
1 files changed, 12 insertions, 0 deletions
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