You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would like to know if the following code snippet should generate an E306 error (it currently does not).
This code snippet comes from the flake8rules website, which (if my understanding is correct), is not directly associated with pycodestyle.
defouter():
definner():
pass
Looking at the pycodestyle files, I found this test and definition below that suggests that the snippet above is not supposed to generate an error. However the official error definition E306: expected 1 blank line before a nested definition seems to say that there should be a blank line (unless the first nested def is an exception).
Hi,
I would like to know if the following code snippet should generate an
E306
error (it currently does not).This code snippet comes from the flake8rules website, which (if my understanding is correct), is not directly associated with pycodestyle.
Looking at the pycodestyle files, I found this test and definition below that suggests that the snippet above is not supposed to generate an error. However the official error definition E306: expected 1 blank line before a nested definition seems to say that there should be a blank line (unless the first nested def is an exception).
If the current behavior is not the desired one, I can make a PR to fix it.
The text was updated successfully, but these errors were encountered: