summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2024-08-13 20:21:07 +0200
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2024-09-12 16:09:24 +0000
commit1c53b0fa444d66076a0c364a41864474b9b0d6c5 (patch)
tree18b7a3d4ab21830778a84b99c40c57551fe01761
parente5ae870a2ff9257940c3c30dab3bf51cefb526bd (diff)
downloadgit-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.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index f8bfc777..2847f2ac 100644
--- a/tox.ini
+++ b/tox.ini
@@ -49,7 +49,7 @@ deps =
49 black 49 black
50 flake8 50 flake8
51commands = 51commands =
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
61commands = 61commands =
62 black {posargs:.} 62 black {posargs:. repo run_tests release/update-hooks release/update-manpages}
63 flake8 63 flake8