Skip to content

Commit cf5d49d

Browse files
committed
Move from tool.pytest.ini_options to tool.pytest in pyproject.toml
1 parent bf32749 commit cf5d49d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ combine-as-imports = true
9595
[tool.ruff.lint.per-file-ignores]
9696
"tests/*" = ["ANN", "D"]
9797

98-
[tool.pytest.ini_options]
98+
[tool.pytest]
9999
# We don't use nose style tests so disable them in pytest.
100100
# This stops pytest from running functions named `setup` in test files.
101101
# See https://github.com/python-discord/bot/pull/2229#issuecomment-1204436420
102-
addopts = "-p no:nose"
102+
addopts = ["-p", "no:nose"]

0 commit comments

Comments
 (0)