@fuzeman's import order style for flake8-import-order
Project description
Import ordering style for flake8-import-order, fork of flake8-import-order-spoqa which has been updated to implement @fuzeman’s preferred import ordering convention.
Example
from myapp import something
from myapp.helpers import get_view
from myapp.views import *
from ...deepest import a
from ..deeper import b
from .a import this, that
from .z import This, That
from pkg_resources import (SOURCE_DIST, EntryPoint, Requirement, get_provider)
from typing import Optional
import datetime
import sys
Usage
Install the flake8-import-order-fuzeman package with pip, and then enable the import order style with either:
Command-line option:
--import-order-style=fuzeman
-
[flake8] import-order-style =
fuzeman
Distribution
Written by Dean Gardiner, forked from flake8-import-order-spoqa written by Hong Minhee, and distributed under the GPLv3 license or later.
Changelog
1.2.0 (2017-02-25)
Added
from ... import ... is now permitted for argparse, pprint, subprocess and threading
1.1.1 (2017-02-22)
Fixed
Third-party import statements were incorrectly being marked as import order errors
1.1.0 (2017-02-22)
Added
collections, datetime and decimal are now from ... importable
Changed
import is now permitted for third-party libraries
Fixed
__future__ imports were incorrectly being marked as import order errors
1.0.2 (2017-02-22)
Fix for incorrect metadata on PyPI
1.0.1 (2017-02-22)
Fixed
Incorrect install_requires definition in setup.py
1.0.0 (2017-02-22)
Initial release
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
Hashes for flake8-import-order-fuzeman-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d0c60a41041edd171940f5d658d861c391bd472c7378efb02878cd1ff6ab075 |
|
MD5 | 7b8230fcdfd24b9ae4b03b2440dbd2a8 |
|
BLAKE2b-256 | b854ac8a0087be573665fefcac81ebc089f1df057e2582f5e466380145d96785 |
Hashes for flake8_import_order_fuzeman-1.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6af280fb703b601e1359ae28b0eea4560790cb1f28d98669b80ee9c7436bf4a |
|
MD5 | 0eb741ff07cbf5fe18b60d4f52b220b9 |
|
BLAKE2b-256 | 74be95b482fa62ca9a00d8931fa3e396098291283560bbf6c24f1dd310d1a36b |