summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 9b0b3dfc7..2707bea97 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,3 +9,17 @@
[tool.black]
line-length = 79
target-version = ['py37']
+
+
+[tool.pytest.ini_options]
+addopts = "--tb native -v -r sfxX --maxfail=250 -p warnings -p logging"
+python_files = "test/*test_*.py"
+minversion = "6.2"
+filterwarnings = [
+ "ignore::sqlalchemy.exc.SAPendingDeprecationWarning",
+ "error::sqlalchemy.exc.SADeprecationWarning",
+ "error::sqlalchemy.exc.SAWarning",
+ "always::sqlalchemy.exc.SATestSuiteWarning",
+ "error::DeprecationWarning:test",
+ "error::DeprecationWarning:sqlalchemy"
+]