Skip to content

Commit c1e72df

Browse files
authored
Update README.md
1 parent f9bba0d commit c1e72df

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,10 @@
1-
# Find-Python-syntax-errors-action
2-
GitHub action to find Python syntax errors and undefined names
1+
# GitHub Action to find Python syntax errors and undefined names
2+
3+
$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
4+
5+
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.
6+
* F821: undefined name `name`
7+
* F822: undefined name `name` in `__all__`
8+
* F823: local variable name referenced before assignment
9+
* E901: SyntaxError or IndentationError
10+
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree

0 commit comments

Comments
 (0)