@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.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.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bc679739625ec03fb2351bbdcc03315af8335a1f5cab837537e0f9727bb6ec8 |
|
MD5 | 9da2ecea3abd77a7c98f680d8ab3cdcc |
|
BLAKE2b-256 | 676512049d82b21ad5675e2700a3a65fd5fb816a55682c193a9b8e3d56096435 |
Hashes for flake8_import_order_fuzeman-1.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55f24500ed6d2386f0cd5330abcc37b1d6cee2bb44c2b7b8662cba0ab409808 |
|
MD5 | 285840e08d4ef371bce657dd69716144 |
|
BLAKE2b-256 | b8fd1e967534d241eef92cff3208c80b1c89827d9df2e27e9d76d85afb7f903a |