Ticket #667 (assigned enhancement)

Opened 4 years ago

Last modified 3 years ago

Migrations files doesn't pass pep8 and pyflake.

Reported by: jorgeecardona@… Owned by: andrew
Priority: major Milestone: 1.0
Component: migrations Version: unknown
Keywords: Cc:

Description

Hi,

The automatic scripts created in migration doesn't pass the pep8 and pyflake test, and that it is really annoying if I use an automatic tool that checks for this in my scm.

It should be great to create these files according pep8.

It can be reproduced easily creating an initial migrations and run:

pep8 0001_initial.py
pyflake 0001_initial.py

Best Regards.

Change History

comment:1 follow-up: ↓ 2 Changed 3 years ago by lorenzo.gil.sanchez@…

I've forked in bitbucket to start fixing this issue since I found it very annoying too for the same reasons you described.

See https://bitbucket.org/lgs/south-pep8-corrections

comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 3 years ago by andrew

  • Status changed from new to assigned
  • Milestone set to 1.0

Replying to lorenzo.gil.sanchez@…:

I've forked in bitbucket to start fixing this issue since I found it very annoying too for the same reasons you described.

See https://bitbucket.org/lgs/south-pep8-corrections

Awesome, I've pulled in the first two commits there after your pull request.

comment:3 in reply to: ↑ 2 Changed 3 years ago by lorenzo.gil.sanchez@…

Replying to andrew:

Replying to lorenzo.gil.sanchez@…:

I've forked in bitbucket to start fixing this issue since I found it very annoying too for the same reasons you described.

See https://bitbucket.org/lgs/south-pep8-corrections

Awesome, I've pulled in the first two commits there after your pull request.

That was fast :-)

I'll keep fixing this issue, stay tuned to my clone.

Note: See TracTickets for help on using tickets.