./lib/pyh.py:143:11: F821 undefined name 'a'
out = a(img(src='http://www.w3.org/Icons/valid-xhtml10',
^
./lib/pyh.py:143:13: F821 undefined name 'img'
out = a(img(src='http://www.w3.org/Icons/valid-xhtml10',
^
./lib/pyh.py:152:17: F821 undefined name 'head'
self += head()
^
./lib/pyh.py:153:17: F821 undefined name 'body'
self += body()
^
./lib/pyh.py:155:22: F821 undefined name 'title'
self.head += title(name)
^
./lib/pyh.py:158:28: F821 undefined name 'head'
if isinstance(obj, head) or isinstance(obj, body):
^
./lib/pyh.py:158:53: F821 undefined name 'body'
if isinstance(obj, head) or isinstance(obj, body):
^
./lib/pyh.py:160:30: F821 undefined name 'meta'
elif isinstance(obj, meta) or isinstance(obj, link):
^
./lib/pyh.py:160:55: F821 undefined name 'link'
elif isinstance(obj, meta) or isinstance(obj, link):
^
./lib/pyh.py:170:26: F821 undefined name 'script'
self.head += script(type='text/javascript', src=f)
^
./lib/pyh.py:174:26: F821 undefined name 'link'
self.head += link(rel='stylesheet', type='text/css', href=f)
^
./lib/pyh.py:181:26: F821 undefined name 'style'
self.head += style(txt, type="text/css")
^
./lib/pyh.py:187:26: F821 undefined name 'script'
self.head += script(txt, type="text/javascript")
^
./script/solr_unauthorized_access.py:28:16: F632 use ==/!= to compare str, bytes, and int literals
if g.status_code is 200 and 'Solr Admin' in g.content and 'Dashboard' in g.content:
^
1 F632 use ==/!= to compare str, bytes, and int literals
13 F821 undefined name 'a'
14
E901,E999,F821,F822,F823 are the "showstopper" flake8 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.
F821: undefined name name
F822: undefined name name in __all__
F823: local variable name referenced before assignment
E901: SyntaxError or IndentationError
E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
flake8 testing of https://github.com/al0ne/Vxscan on Python 3.7.1
$ flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
E901,E999,F821,F822,F823 are the "showstopper" flake8 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.
name
name
in__all__