edsu / opensearch

A python opensearch client
http://python.org/pypi/opensearch
GNU General Public License v3.0
44 stars 14 forks source link

GitHub Action to lint Python 2.7 code #11

Closed cclauss closed 4 years ago

cclauss commented 4 years ago

Output: https://github.com/cclauss/opensearch/runs/1098080490?check_suite_focus=true

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:

cclauss commented 4 years ago

It would be good to get this one landed for Python 2.7 and fix up the koders-based tests before attacking #12.