Merge pull request #1744 from dbungert/tox-but-faster

tox: use skip_install to speed up black/isort
This commit is contained in:
Dan Bungert 2023-07-25 20:03:03 -06:00 committed by GitHub
commit 0969abc0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -2,17 +2,18 @@
envlist =
black
isort
recreate = True
[testenv]
basepython = python3
[testenv:black]
deps = black ~= 23.0
skip_install = True
commands = {envpython} -m black \
{posargs:console_conf subiquity subiquitycore system_setup}
[testenv:isort]
deps = isort == 5.12.0
skip_install = True
commands = {envpython} -m isort \
{posargs:console_conf subiquity subiquitycore system_setup}