* Florian Bruhin <[email protected]> [2015-05-21 10:52:28 +0200]: > - pep257 and flake8 should use tokenize.detect_encoding[1] / > tokenize.open (or equivalent code for < 3.2) to honour PEP 263 > encoding markers[2]. > > (I got bitten by this when trying to run pep257 on Python files > containing UTF-8 Unicode chars on Windows)
I've now fixed this for pep257 (at least for python3 - it seems to work fine on python2): https://github.com/GreenSteam/pep257/pull/118 I still have to look into pyflakes as I've only seen that failing in the pytest tests, but not with a minimal example. * Florian Schulze <[email protected]> [2015-05-21 11:33:58 +0200]: > Sounds reasonable, thanks for the list! Maybe we should put that somewhere > findable? The tox docs, or at least link from there? If others agree - sure! Though I'd prefer someone other than me doing that ;) Florian (the Bruhin one :P) -- http://www.the-compiler.org | [email protected] (Mail/XMPP) GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc I love long mails! | http://email.is-not-s.ms/
pgpcvJ3OUrTSi.pgp
Description: PGP signature
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
