pep8 cleanup: expected 1 blank line, found 0
|Reported by:||Tim Graham||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
To find errors, ensure you have an up-to-date master with the flake8 config in setup.cfg, then remove E301 from the ignore list there. You can then run
flake8 from the directory with setup.cfg in it to list all errors - there should be about 200.
Note I also added
./django/utils/six.py to the ignore list since it had some of these errors but we don't care about fixing it since it's mostly a copy of a 3rd party library.
Attaching an example patch to get you started.
Apply it, if you'd like:
patch -p1 -i E301.diff