Skip to content

IPython extension for seeing PEP8 errors directly in the notebook.

Notifications You must be signed in to change notification settings

KristianJensen/force-pep8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

force-pep8

IPython extension for seeing PEP8 errors directly in the notebook.

This module can be loaded as an extension in a Jupyter notebook to get direct feedback on correct coding style. The notebook will yell at you (thorugh stderr) until you write clean PEP8-compliant code.

Future features:

  • Hardcore mode: An exception will be raised when code is not PEP8-compliant.
  • Super-hardcore mode: Running a cell with non-PEP8-compliant code will restart the kernel and delete a random file on your file system.

To load the extension in a notebook run:

%load_ext force_pep8

After running a cell you will now see output if the code does not comply to PEP8. To verify that this works you can try to run:

a=3

About

IPython extension for seeing PEP8 errors directly in the notebook.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages