Skip to content

Commit 018777b

Browse files
author
muxator
committed
tox: move vulture dependencies from tox.ini to a "vulture" group in pyproject.toml
1 parent 99b3903 commit 018777b

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

poetry.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ ndlib = "^5.1.1"
7171
pydocstyle = "^6.3.0"
7272
tox = "^4.4.12"
7373
twine = "^4.0.2"
74-
vulture = "^2.9.1"
7574

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

97+
[tool.poetry.group.vulture.dependencies]
98+
vulture = "^2.9.1"
99+
98100
[build-system]
99101
requires = ["poetry-core>=1.0.0"]
100102
build-backend = "poetry.core.masonry.api"

tox.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ commands = bandit --configfile .bandit.yaml --recursive black_it tests scripts e
7676

7777
[testenv:vulture]
7878
skipsdist = True
79-
skip_install = True
80-
deps = vulture==2.9.1
79+
commands_pre = poetry install --only vulture --sync
8180
commands =
8281
vulture black_it scripts/whitelists/package_whitelist.py
8382
vulture examples scripts/whitelists/examples_whitelist.py

0 commit comments

Comments
 (0)