From cf5d49dfecc000f6d1be075906b90bc3cc3ac610 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Tue, 11 Nov 2025 02:04:38 +0000 Subject: Move from tool.pytest.ini_options to tool.pytest in pyproject.toml --- pyproject.toml | 4 ++-- 1 file 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"] -- cgit v1.2.3