UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
Closed this issue · 1 comments
cleder commented
On python 2.7, when I flake8 a file with unicode strings in it (valid unicode, # encoding: utf-8
is set on file)
I get:
File "/home/vagrant/venv/lib/python2.7/site-packages/isort/isort.py", line 108, in __init__
if file_contents is None or ("isort:" + "skip_file") in file_contents:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1988: ordinal not in range(128)
cleder commented
oops sorry the error is with isort -> PyCQA/isort#842