#21298: pep8 cleanup: expected 1 blank line, found 0 ------------------------------------------------+------------------------ Reporter: timo | Owner: nobody Type: Cleanup/optimization | Status: new Component: Core (Other) | Version: master Severity: Normal | Keywords: Triage Stage: Accepted | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 0 | ------------------------------------------------+------------------------ 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` -- Ticket URL: <https://code.djangoproject.com/ticket/21298> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/047.ca55edc5cf747e2a1e5d6a3dda55bc2a%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.