google / upvote_py2

A multi-platform binary whitelisting solution
Apache License 2.0
452 stars 35 forks source link

Travis CI: Lint Python code #68

Closed cclauss closed 3 years ago

cclauss commented 3 years ago

Python 2 passes the targeted flake8 tests without modification. Python 3 is run in allow_failures mode and shows the initial quick fixes required to start adding Python 3 compatibility.

https://flake8.pycqa.org/en/latest/user/error-codes.html

On the flake8 test selection, this PR does not focus on "style violations" (the majority of flake8 error codes that psf/black can autocorrect). Instead, these tests are focus on runtime safety and correctness: