Skip to content

Commit 1c53b0f

Browse files
Peter KjellerstedtLUCI
authored andcommitted
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 <[email protected]> Reviewed-by: Josip Sokcevic <[email protected]> Commit-Queue: Josip Sokcevic <[email protected]>
1 parent e5ae870 commit 1c53b0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ deps =
4949
black
5050
flake8
5151
commands =
52-
black --check {posargs:.}
52+
black --check {posargs:. repo run_tests release/update-hooks release/update-manpages}
5353
flake8
5454

5555
[testenv:format]
@@ -59,5 +59,5 @@ deps =
5959
black
6060
flake8
6161
commands =
62-
black {posargs:.}
62+
black {posargs:. repo run_tests release/update-hooks release/update-manpages}
6363
flake8

0 commit comments

Comments
 (0)