Yet another import order style
Project description
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.
Installation
Just use pip (You have pip, right?) to install flake8-import-order-jwodder and its dependencies:
pip install flake8-import-order-jwodder
Example
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flake8-import-order-jwodder-0.1.0.tar.gz
.
File metadata
- Download URL: flake8-import-order-jwodder-0.1.0.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c2ef2481e201ce07772e9816942fedd203c37721719d1861e2a5182b0589a7 |
|
MD5 | 3ff9bb0f74de72b83879aaaceb804caa |
|
BLAKE2b-256 | 60b3fbd8ffa6e7ce4c85423c3f2ac9b459e5c5890c1c7019d1162d82123bb8f7 |
File details
Details for the file flake8_import_order_jwodder-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_import_order_jwodder-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1259f3c80d9e90aa77705d0c6700180ecf4fc229600f027b464f435210cf0a |
|
MD5 | 597e1d444560ba4c8bd00d1a753462d6 |
|
BLAKE2b-256 | b3ed87aa9cc9f309ea275d18973057fc1bad7734e3d618cab013bca3a8854676 |