File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ black==24.3.0
Original file line number Diff line number Diff line change @@ -142,19 +142,23 @@ commands =
142
142
143
143
[testenv:black-format]
144
144
# Used during development (before committing) to format .py files.
145
+ skip_install = true
145
146
setenv =
146
147
LC_ALL =C.UTF-8
147
148
LANG =C.UTF-8
148
149
commands =
149
- black -l 100 ./
150
+ pip install --exists-action =w -r requirements/tox/black_requirements.txt
151
+ black ./
150
152
151
153
[testenv:black-check]
152
154
# Used by automated build steps to check that all files are properly formatted.
155
+ skip_install = true
153
156
setenv =
154
157
LC_ALL =C.UTF-8
155
158
LANG =C.UTF-8
156
159
commands =
157
- black -l 100 --diff --color --check ./
160
+ pip install --exists-action =w -r requirements/tox/black_requirements.txt
161
+ black --diff --color --check ./
158
162
159
163
[testenv:clean]
160
164
skip_install = true
You can’t perform that action at this time.
0 commit comments