#21285 closed Cleanup/optimization (fixed)

pep8 cleanup: continuation line indentation

Reported by: timo Owned by: alasdair
Component: Core (Other) Version: master
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

Includes two errors:

  • E21 continuation line indentation is not a multiple of four
  • E122 continuation line missing indentation or outdented

To find errors, ensure you have an up-to-date master with the flake8 config in setup.cfg, then remove E121,E122 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 115.

Attaching an example patch to get you started.

Apply it, if you'd like:

patch -p1 -i E121.diff

Attachments (1)

E121.diff (2.2 KB) - added by timo 23 months ago.

Download all attachments as: .zip

Change History (3)

Changed 23 months ago by timo

comment:1 Changed 23 months ago by alasdair

  • Owner changed from nobody to alasdair
  • Status changed from new to assigned

comment:2 Changed 23 months ago by Tim Graham <timograham@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In dfb4cb9970f86487f0aaa88c5dfcfafa31e4f430:

Fixed #21285 -- Fixed E121,E122 pep8 warnings

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