Skip to content

Commit e5ae870

Browse files
Peter KjellerstedtLUCI
Peter Kjellerstedt
authored and
LUCI
committed
tox.ini, constraints.txt: Lock the version of black to <24
The formatting produced by black versions before 24 matches the current formatting of the code. Change-Id: I045f22d2f32a09d4683867293e81512f2abd1036 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/434997 Tested-by: Josip Sokcevic <[email protected]> Reviewed-by: Josip Sokcevic <[email protected]> Commit-Queue: Josip Sokcevic <[email protected]>
1 parent e59e2ae commit e5ae870

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

constraints.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
black<24

tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ python =
3030

3131
[testenv]
3232
deps =
33+
-c constraints.txt
3334
black
3435
flake8
3536
isort
@@ -44,6 +45,7 @@ setenv =
4445
[testenv:lint]
4546
skip_install = true
4647
deps =
48+
-c constraints.txt
4749
black
4850
flake8
4951
commands =
@@ -53,6 +55,7 @@ commands =
5355
[testenv:format]
5456
skip_install = true
5557
deps =
58+
-c constraints.txt
5659
black
5760
flake8
5861
commands =

0 commit comments

Comments
 (0)