-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pollution from encoding.read_py_file() #210
Comments
Ah oops I'm sorry. This is some debug left in. I was rushing a bit to get
out a new release to fix the pylint 1.7 issues. I'll make a new minor
release with things like this cleaned up.
…On 4 May 2017 18:25, "souliane" ***@***.***> wrote:
This method prints a line per opened data in order to detect SyntaxError:
print(tokenize.detect_encoding(f.readline))
Is there a way to detect a bad encoding without leaving the printed lines
on stdout? I find it quite disturbing. Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#210>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AApov3SPNp1HoHFDarq2PuTk7Tiol9MOks5r2aeGgaJpZM4NQe7A>
.
|
Thanks! :) |
souliane
pushed a commit
to souliane/prospector
that referenced
this issue
May 4, 2017
Closed
0.12.6 now on PyPI with this fix. Sorry for the stupid issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This method prints a line per opened data in order to detect SyntaxError:
print(tokenize.detect_encoding(f.readline))
Is there a way to detect a bad encoding without leaving the printed lines on stdout? It is really annoying, especially when changing the output format:
prospector --output-format xunit > xunit.xml
Then I get all the ('utf-8', [...]) output in my XML file.
The text was updated successfully, but these errors were encountered: