Skip to content

Commit e6029ef

Browse files
Copilotjb3
andcommitted
Remove pytest-subtests and migrate to new TOML config format
Co-authored-by: jb3 <[email protected]>
1 parent 4138502 commit e6029ef

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ dev = [
4040
"pre-commit==4.3.0",
4141
"pytest==9.0.0",
4242
"pytest-cov==7.0.0",
43-
"pytest-subtests==0.14.1",
4443
"pytest-xdist==3.8.0",
4544
"ruff==0.14.2",
4645
"taskipy==1.14.1",
@@ -96,8 +95,8 @@ combine-as-imports = true
9695
[tool.ruff.lint.per-file-ignores]
9796
"tests/*" = ["ANN", "D"]
9897

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

uv.lock

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)