You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the git check-ignore command result is parsed with using an unsupported legacy function in codecs, because git can output \OOO octal escape codes for any 'unusual' characters.
Instead of using undocumented functions, isort should simply disable the git quoting features:
Use null delimiting instead of linefeed delimiting (pass -z, read and write filenames with \0 as the delimiter)
This would also allow isort to just use the subprocess encoding and decoding support, provided git is explicitly configured to expect and produce UTF-8 (set the LANG=C.UTF-8 environment variable).
The text was updated successfully, but these errors were encountered:
Currently, the
git check-ignore
command result is parsed with using an unsupported legacy function incodecs
, because git can output\OOO
octal escape codes for any 'unusual' characters.Instead of using undocumented functions, isort should simply disable the git quoting features:
core.quotePath
(pass-c core.quotePath=
).-z
, read and write filenames with\0
as the delimiter)This would also allow isort to just use the
subprocess
encoding and decoding support, provided git is explicitly configured to expect and produce UTF-8 (set theLANG=C.UTF-8
environment variable).The text was updated successfully, but these errors were encountered: