mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
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:
parent
e5ae870a2f
commit
1c53b0fa44
4
tox.ini
4
tox.ini
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user