#21270 closed Cleanup/optimization (fixed)
pep8 cleanup: multiple statements on one line (colon)
Reported by: | Tim Graham | Owned by: | alasdair |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
To find errors, ensure you have an up-to-date master with the flake8 config in setup.cfg, then remove E701 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 300.
Attaching an example patch to get you started.
Apply it, if you'd like:
patch -p1 -i E701.diff
Attachments (1)
Change History (5)
by , 11 years ago
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 11 years ago
Pull request: https://github.com/django/django/pull/1762
The test suite passes with the changes, but I need to configure my setup so that I can run the tests which are skipping.
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I'd like to have a go at this.