Skip to content

Commit

Permalink
tox: move vulture dependencies from tox.ini to a "vulture" group in p…
Browse files Browse the repository at this point in the history
…yproject.toml
  • Loading branch information
muxator committed Sep 17, 2024
1 parent 99b3903 commit 018777b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ ndlib = "^5.1.1"
pydocstyle = "^6.3.0"
tox = "^4.4.12"
twine = "^4.0.2"
vulture = "^2.9.1"

[tool.poetry.group.docs.dependencies]
markdown-include = "^0.8.1"
Expand All @@ -95,6 +94,9 @@ pytest = "^7.4.2"
pytest-cov = "^4.1.0"
pytest-randomly = "^3.15.0"

[tool.poetry.group.vulture.dependencies]
vulture = "^2.9.1"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ commands = bandit --configfile .bandit.yaml --recursive black_it tests scripts e

[testenv:vulture]
skipsdist = True
skip_install = True
deps = vulture==2.9.1
commands_pre = poetry install --only vulture --sync
commands =
vulture black_it scripts/whitelists/package_whitelist.py
vulture examples scripts/whitelists/examples_whitelist.py
Expand Down

0 comments on commit 018777b

Please sign in to comment.