diff options
| author | 2025-11-11 02:04:38 +0000 | |
|---|---|---|
| committer | 2025-11-11 02:04:54 +0000 | |
| commit | cf5d49dfecc000f6d1be075906b90bc3cc3ac610 (patch) | |
| tree | 8723161de1084f109a8e24d2d93e1c56e381e1d4 | |
| parent | Update pytest to 9.0.0 and remove pytest-subtests (diff) | |
Move from tool.pytest.ini_options to tool.pytest in pyproject.toml
| -rw-r--r-- | pyproject.toml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml index 7f1df0457..dacc2bc40 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -95,8 +95,8 @@ combine-as-imports = true [tool.ruff.lint.per-file-ignores] "tests/*" = ["ANN", "D"] -[tool.pytest.ini_options] +[tool.pytest] # 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" +addopts = ["-p", "no:nose"] |