Skip to content

Commit

Permalink
Tell tox to use the dependency group in pyproject.toml instead of tox…
Browse files Browse the repository at this point in the history
….ini
  • Loading branch information
hugovk committed Oct 21, 2024
1 parent b0f700e commit b24554c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ filterwarnings = [
]
testpaths = [ "tests" ]

[tool.tox.env_run_base]
dependency-groups = [
"test",
]

[dependency-groups]
test = [
"freezegun",
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ commands =
--cov-report term \
--cov-report xml \
{posargs}
dependency_groups =
test

[testenv:cog]
skip_install = true
Expand Down

0 comments on commit b24554c

Please sign in to comment.