Skip to content

cleans up the imports a little bit #709

Closed
wants to merge 1 commit into from

3 participants

@a-tal
a-tal commented Feb 28, 2013

doesn't remove the import *'s :/

alphabeticalizes, puts one per line, and moves the standard modules above r2 imports.

@bsimpson63
reddit member

The preferred import style is to keep imports on a single line if they fit under 80 characters, otherwise break it up into multiple lines like:

from a.b import (
    A,
    B,
    C,
)

See https://github.com/reddit/reddit/wiki/PythonImportGuidelines

@Deimos
reddit member
Deimos commented Jun 12, 2013

There haven't been any updates to this pull in a very long time, so I'm going to close it. Please submit a new pull request if you want to reopen it.

@Deimos Deimos closed this Jun 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.