Last active
May 7, 2020 10:50
-
-
Save merltron-pa/b2a98c512e777b22312544c9aeb7983a to your computer and use it in GitHub Desktop.
Example workflow used in this article: https://medium.com/@merlin.pav/cc1e2aacd9da?source=friends_link&sk=dcb39201c9d8bf917e1329af08ea1719
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Lint with flake8 | |
run: | | |
# stop the build if there are Python syntax errors or undefined names | |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | |
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | |
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment