-
Notifications
You must be signed in to change notification settings - Fork 755
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
E301: reported incorrectly after ignored E303 #925
Comments
can confirm this is a bug -- seems pycodestyle has been doing this for a while (checked back to 2.4 at least) -- thanks for the report! |
asottile
changed the title
E301 reported incorrectly after ignored E303
E301: reported incorrectly after ignored E303
Jun 14, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, 👋
I have a following code in
foo.py
:and running
pycodestyle --ignore=E303 foo.py
(E303 - Too many blank lines) reportsfoo.py:9:5: E301 expected 1 blank line, found 0
even there is a blank line.There is one more thing that is confusing me - I'm able to fix this error by adding new line between
def bar
andpass
.Any idea what could be wrong here?
Thanks
The text was updated successfully, but these errors were encountered: