diff options
author | Peter Kjellerstedt <pkj@axis.com> | 2024-08-13 20:21:07 +0200 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-09-12 16:09:24 +0000 |
commit | 1c53b0fa444d66076a0c364a41864474b9b0d6c5 (patch) | |
tree | 18b7a3d4ab21830778a84b99c40c57551fe01761 | |
parent | e5ae870a2ff9257940c3c30dab3bf51cefb526bd (diff) | |
download | git-repo-1c53b0fa444d66076a0c364a41864474b9b0d6c5.tar.gz |
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>
-rw-r--r-- | tox.ini | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ deps = | |||
49 | black | 49 | black |
50 | flake8 | 50 | flake8 |
51 | commands = | 51 | commands = |
52 | black --check {posargs:.} | 52 | black --check {posargs:. repo run_tests release/update-hooks release/update-manpages} |
53 | flake8 | 53 | flake8 |
54 | 54 | ||
55 | [testenv:format] | 55 | [testenv:format] |
@@ -59,5 +59,5 @@ deps = | |||
59 | black | 59 | black |
60 | flake8 | 60 | flake8 |
61 | commands = | 61 | commands = |
62 | black {posargs:.} | 62 | black {posargs:. repo run_tests release/update-hooks release/update-manpages} |
63 | flake8 | 63 | flake8 |