Open Echsecutor opened 4 months ago
Just an example from pyflake
ing the modules which most likely hints to errors in the code
ghproj.py:11: SyntaxWarning: invalid escape sequence '\{'
p = re.compile('domains=\{.*\}')
...
mumble.py:91:12: undefined name 'bot'
mumble.py:91:20: undefined name 'event'
mumble.py:91:30: undefined name 'bot'
mumble.py:91:43: undefined name 'event'
It is currently possible to build a Docker image that contains broken (syntactically) python code. We should at least run
pyflakes
, or maybe even pep8 before shipping the image ;)