I got onto this package after trying to find a better solution than autopep for running against git diff, and this looks to be just the trick.
However, in my early use of this package it seems that it regularly ignores the E303 PEP. If I run flake8 against my diff and then run pep8radius master --in-place -v I get the following output.
cherub/classifier/my_extractor.py:25:5: E303 too many blank lines (7)
cherub/cli/invoke_mixer.py:32:5: E303 too many blank lines (2)
.
.
.
pep8radius fixed 0 lines in 3 files.
flake8 recognises the errors but pep8radius doesn't fix them
Reproducing
To reproduce this error, just start adding excessive whitespace between functions and within functions. Only very rarely does pep8radius recognise and fix them.
Hey,
I got onto this package after trying to find a better solution than
autopep
for running againstgit diff
, and this looks to be just the trick.However, in my early use of this package it seems that it regularly ignores the
E303
PEP. If I runflake8
against my diff and then runpep8radius master --in-place -v
I get the following output.flake8
recognises the errors butpep8radius
doesn't fix themReproducing
To reproduce this error, just start adding excessive whitespace between functions and within functions. Only very rarely does
pep8radius
recognise and fix them.