If the locale was set incorrectly, yaml linting will fail as the GitHub pipelines are using UTF-8. As we can't guarantee Python 3.7 yet, we have to override LC_ALL rather than just set PYTHONUTF8=1 (see PEP 540).
Motivation and Context
I had LC_ALL=C set for some insane reason, and linting was failing.
How Has This Been Tested?
Ran make yamllint before & after changes.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My code has security implications.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
If the locale was set incorrectly, yaml linting will fail as the GitHub pipelines are using UTF-8. As we can't guarantee Python 3.7 yet, we have to override
LC_ALL
rather than just setPYTHONUTF8=1
(see PEP 540).Motivation and Context
I had
LC_ALL=C
set for some insane reason, and linting was failing.How Has This Been Tested?
Ran
make yamllint
before & after changes.Types of changes
Checklist: