tox.ini: Make the lint and format environments run black for all code

This matches the extra files specified in run_tests.

Change-Id: Ic8999383a17b3ec7ae27322323ea44eeaa40c968
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/434998
Tested-by: Josip Sokcevic <sokcevic@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
This commit is contained in:
Peter Kjellerstedt 2024-08-13 20:21:07 +02:00 committed by LUCI
parent e5ae870a2f
commit 1c53b0fa44

View File

@ -49,7 +49,7 @@ deps =
black black
flake8 flake8
commands = commands =
black --check {posargs:.} black --check {posargs:. repo run_tests release/update-hooks release/update-manpages}
flake8 flake8
[testenv:format] [testenv:format]
@ -59,5 +59,5 @@ deps =
black black
flake8 flake8
commands = commands =
black {posargs:.} black {posargs:. repo run_tests release/update-hooks release/update-manpages}
flake8 flake8