Currently we use pep8 for checking for PEP 8 errors and autopep8 for automatic formatting. autopep8 is catching more errors than pep8, so sometimes make pep8 doesn't report any errors, but make format will change the code.
We can unify and use only autopep8 by modifying the pep8 Makefile target to:
Currently we use
pep8
for checking for PEP 8 errors andautopep8
for automatic formatting.autopep8
is catching more errors thanpep8
, so sometimesmake pep8
doesn't report any errors, butmake format
will change the code.We can unify and use only
autopep8
by modifying thepep8
Makefile target to:but this only shows a diff with the errors, not an explanation of the error like
pep8
does.Initial discussion: https://github.com/dib-lab/khmer/pull/1145#discussion_r33968901