aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2022-10-05 19:15:42 +0100
committerGravatar GitHub <[email protected]>2022-10-05 19:15:42 +0100
commit1784014abd2e3d895bdc4734de35fabcf2840a31 (patch)
treef0eebd3c4e386a6ec8550a3eac5d2c6289f2d099 /pyproject.toml
parentAdd message when there are no patrons in a tier (diff)
parentMerge pull request #2284 from shtlrs/2281-fix-non-awaited-remove-cog-calls (diff)
Merge branch 'main' into patreon
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 43eb799b6..36c3b5392 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -85,3 +85,9 @@ case_sensitive = true
combine_as_imports = true
line_length = 120
atomic = true
+
+[tool.pytest.ini_options]
+# We don't use nose style tests so disable them in pytest.
+# This stops pytest from running functions named `setup` in test files.
+# See https://github.com/python-discord/bot/pull/2229#issuecomment-1204436420
+addopts = "-p no:nose"