* Florian Bruhin <[email protected]> [2015-05-21 13:57:07 +0200]: > * 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)
For flake8 that seems to be an issue with pytest-flake8, not the upstream flake8. I opened an issue here, as I'm not sure what to do with python2: https://github.com/fschulze/pytest-flakes/issues/6 Florian -- 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/
pgpMXvqx6B0m8.pgp
Description: PGP signature
_______________________________________________ pytest-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pytest-dev
