Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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


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)

E701.diff (1.8 KB) - added by Tim Graham 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by Tim Graham

Attachment: E701.diff added

comment:1 Changed 8 years ago by alasdair

Owner: changed from nobody to alasdair
Status: newassigned

I'd like to have a go at this.

comment:2 Changed 8 years ago by alasdair

Pull request:

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 Changed 8 years ago by Alasdair Nicol <alasdair@…>

Resolution: fixed
Status: assignedclosed

In eb214452c3b1dc399b629aabea926e27b5538c52:

Fixed #21270 -- Fixed E701 pep8 warnings

comment:4 Changed 8 years ago by Alex Gaynor <alex.gaynor@…>

In cce42d4cf2d6820ce04e71b7c1a785ec0d19538f:

Merge pull request #1762 from alasdairnicol/ticket_21270

Fixed #21270 -- Fixed E701 pep8 warnings

Note: See TracTickets for help on using tickets.
Back to Top