Skip to content

Instantly share code, notes, and snippets.

@bbrodriges
Created February 13, 2012 13:04
Show Gist options
  • Save bbrodriges/1816818 to your computer and use it in GitHub Desktop.
Save bbrodriges/1816818 to your computer and use it in GitHub Desktop.
pep8 usage
$ pep8 --show-source index.py
winamq.py:10:17: E201 whitespace after '('
sys.path.append( 'lib' ) #appending /lib/ folder to import local modules
^
winamq.py:10:25: E261 at least two spaces before inline comment
sys.path.append( 'lib' ) #appending /lib/ folder to import local modules
^
winamq.py:23:16: E251 no spaces around keyword / parameter equals
bottle.run( app = routes.root, host = '0.0.0.0', port = 80)
^
winamq.py:30:50: W291 trailing whitespace
#wsgi.WSGIServer( ( '0.0.0.0', 80 ), routes.root,
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment