Skip to main content

Yet another import order style

Project description

Project Status: Active — The project has reached a stable, usable state and is being actively developed. MIT License!-1EAEDB.svg

GitHub | PyPI | Issues

flake8-import-order-jwodder defines an import order style jwodder for use with flake8-import-order. The jwodder style is the same as the appnexus style bundled with flake8-import-order, except that names in from X import ... lines are sorted case-sensitively.


Just use pip (You have pip, right?) to install flake8-import-order-jwodder and its dependencies:

pip install flake8-import-order-jwodder


An example of imports sorted according to the jwodder style:

from __future__ import absolute_import

import ast
from functools import *
import os
from os import path
import StringIO
import sys

import X
from X import *
from X import A
from X import B, C, b, d
import Y
from Y import *
from Y import A
from Y import B, C, D
from Y import e
import Z
from Z import A
from Z.A import A
from Z.A.B import A

from localpackage import A, b

import flake8_import_order
from flake8_import_order import *
from . import A
from . import B
from .A import A
from .B import B
from .. import A
from .. import B
from ..A import A
from ..B import B

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flake8-import-order-jwodder, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size flake8_import_order_jwodder-0.1.0-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size flake8-import-order-jwodder-0.1.0.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page