diff options
| author | Peter Kjellerstedt <pkj@axis.com> | 2024-08-13 20:02:55 +0200 | 
|---|---|---|
| committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-09-12 16:05:35 +0000 | 
| commit | e5ae870a2ff9257940c3c30dab3bf51cefb526bd (patch) | |
| tree | 67d21cd70e2601ec2d518e4b33880f6e37bc02d2 /tox.ini | |
| parent | e59e2ae757623e64f625a9cdadf1c2010ef82b34 (diff) | |
| download | git-repo-e5ae870a2ff9257940c3c30dab3bf51cefb526bd.tar.gz | |
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 <sokcevic@google.com>
Reviewed-by: Josip Sokcevic <sokcevic@google.com>
Commit-Queue: Josip Sokcevic <sokcevic@google.com>
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -30,6 +30,7 @@ python = | |||
| 30 | 30 | ||
| 31 | [testenv] | 31 | [testenv] | 
| 32 | deps = | 32 | deps = | 
| 33 | -c constraints.txt | ||
| 33 | black | 34 | black | 
| 34 | flake8 | 35 | flake8 | 
| 35 | isort | 36 | isort | 
| @@ -44,6 +45,7 @@ setenv = | |||
| 44 | [testenv:lint] | 45 | [testenv:lint] | 
| 45 | skip_install = true | 46 | skip_install = true | 
| 46 | deps = | 47 | deps = | 
| 48 | -c constraints.txt | ||
| 47 | black | 49 | black | 
| 48 | flake8 | 50 | flake8 | 
| 49 | commands = | 51 | commands = | 
| @@ -53,6 +55,7 @@ commands = | |||
| 53 | [testenv:format] | 55 | [testenv:format] | 
| 54 | skip_install = true | 56 | skip_install = true | 
| 55 | deps = | 57 | deps = | 
| 58 | -c constraints.txt | ||
| 56 | black | 59 | black | 
| 57 | flake8 | 60 | flake8 | 
| 58 | commands = | 61 | commands = | 
