Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package ignoring PEP E303 - Too many blank lines #87

Open
thundergolfer opened this issue Oct 15, 2017 · 0 comments
Open

Package ignoring PEP E303 - Too many blank lines #87

thundergolfer opened this issue Oct 15, 2017 · 0 comments

Comments

@thundergolfer
Copy link

Hey,

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant