Skip to content

Commit cf5a59c

Browse files
committed
[client rework]: Configure tox to run black
Configure tox to run black and isort over the client dir. Signed-off-by: Teodora Sechkova <[email protected]>
1 parent b761dc2 commit cf5a59c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ commands =
4343
# Use different configs for new (tuf/api/*) and legacy code
4444
# TODO: configure black and isort args in pyproject.toml (see #1161)
4545
black --check --diff --line-length 80 {toxinidir}/tuf/api
46+
black --check --diff --line-length 80 {toxinidir}/tuf/client_rework
4647
isort --check --diff --line-length 80 --profile black -p tuf {toxinidir}/tuf/api
48+
isort --check --diff --line-length 80 --profile black -p tuf {toxinidir}/tuf/client_rework
4749
pylint {toxinidir}/tuf/api --rcfile={toxinidir}/tuf/api/pylintrc
4850
pylint {toxinidir}/tuf/client_rework --rcfile={toxinidir}/tuf/api/pylintrc
4951

0 commit comments

Comments
 (0)