Skip to content

Commit

Permalink
[CI.Lint.Black] Use "en_US.UTF-8" for Red Hat 6&7 Compatibility (#9537)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnson9009 authored Nov 22, 2021
1 parent 8e1425d commit ecd8a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lint/git-black.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ if [[ "$#" -lt 1 ]]; then
fi

# required to make black's dep click to work
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

if [ ! -x "$(command -v black)" ]; then
echo "Cannot find black"
Expand Down

0 comments on commit ecd8a9c

Please sign in to comment.