Skip to content

Commit 35ddbf7

Browse files
icywang86ruiWang Napieralski
and
Wang Napieralski
authored
fix: fix black-check errors (#2341)
Co-authored-by: Wang Napieralski <[email protected]>
1 parent 8f2a361 commit 35ddbf7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tox.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,18 @@ commands = doc8
126126

127127
[testenv:black-format]
128128
# Used during development (before committing) to format .py files.
129+
setenv =
130+
LC_ALL=C.UTF-8
131+
LANG=C.UTF-8
129132
deps = black
130133
commands =
131134
black -l 100 ./
132135

133136
[testenv:black-check]
134137
# Used by automated build steps to check that all files are properly formatted.
138+
setenv =
139+
LC_ALL=C.UTF-8
140+
LANG=C.UTF-8
135141
deps = black
136142
commands =
137143
black -l 100 --check ./

0 commit comments

Comments
 (0)