aboutsummaryrefslogtreecommitdiffstats
path: root/python/pytest.ini
diff options
context:
space:
mode:
Diffstat (limited to 'python/pytest.ini')
-rw-r--r--python/pytest.ini21
1 files changed, 21 insertions, 0 deletions
diff --git a/python/pytest.ini b/python/pytest.ini
new file mode 100644
index 0000000..034a68e
--- /dev/null
+++ b/python/pytest.ini
@@ -0,0 +1,21 @@
+[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
+
+log_level = INFO