aboutsummaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-08-30 18:13:03 -0400
committerBobby <[email protected]>2022-08-30 18:13:03 -0400
commitb2026facd54d94c2145c48eeaac779672b0d9e80 (patch)
tree3cd70e0fdff96ce26d009a75156ab752a84a2d74 /pytest.ini
downloadedify-b2026facd54d94c2145c48eeaac779672b0d9e80.tar.xz
edify-b2026facd54d94c2145c48eeaac779672b0d9e80.zip
Add initial project skeleton.
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini28
1 files changed, 28 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..d604d65
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,28 @@
+[pytest]
+# If a pytest section is found in one of the possible config files
+# (pytest.ini, tox.ini or setup.cfg), then pytest will not look for any others,
+# so if you add a pytest config section elsewhere,
+# you will need to delete this section from setup.cfg.
+norecursedirs =
+ migrations
+
+python_files =
+ test_*.py
+ *_test.py
+ tests.py
+addopts =
+ -ra
+ --strict-markers
+ --doctest-modules
+ --doctest-glob=\*.rst
+ --tb=short
+testpaths =
+ tests
+
+# Idea from: https://til.simonwillison.net/pytest/treat-warnings-as-errors
+filterwarnings =
+ error
+# You can add exclusions, some examples:
+# ignore:'edify' defines default_app_config:PendingDeprecationWarning::
+# ignore:The {{% if:::
+# ignore:Coverage disabled via --no-cov switch!