Skip to content
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

Read files in binary mode (fix #238) #239

Closed

Conversation

spyoungtech
Copy link

@spyoungtech spyoungtech commented Mar 25, 2020

Resolves #238

Limited testing shows this addresses the problem in #238 -- However, other testing has not been conducted (like if this reintroduces the 'newline problem' for Python3 or if files with a BOM are handled correctly; though hopefully that's in the travis test suite 😄 )

@coveralls
Copy link

coveralls commented Mar 25, 2020

Coverage Status

Coverage increased (+0.004%) to 97.878% when pulling 3fbef3e on spyoungtech:spyoungtech-patch-238 into 542ae75 on adrienverge:master.

@spyoungtech
Copy link
Author

spyoungtech commented Mar 25, 2020

Might also resolve #218

Tested against content in this comment

@spyoungtech
Copy link
Author

Did limited test by adding a UTF-8 BOM to the test from the previous comment. Nothing blew up and lint was successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to read file in 1.21.0 with Python 2.7 and non-ascii yaml files.
2 participants