@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.7.0 (2018-01-08)
Added
Support for flake8-import-order >= 0.16 (support has been dropped for earlier versions)
1.6.0 (2017-05-10)
Added
from ... import ... is now permitted for contextlib
1.5.0 (2017-05-10)
Added
from ... import ... is now permitted for tempfile
1.4.0 (2017-05-10)
Added
from ... import ... is now permitted for json and pkgutil
1.3.0 (2017-03-07)
Added
from ... import ... is now permitted for copy
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
File details
Details for the file flake8-import-order-fuzeman-1.7.0.tar.gz
.
File metadata
- Download URL: flake8-import-order-fuzeman-1.7.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069305fa593090850be1fd4e38fba7a544ee9da8aa601d2c20a7752eefc81363 |
|
MD5 | c9f8a1350b1cef6e479f4764dc483afb |
|
BLAKE2b-256 | db76905dcfdc1d411418f2764ecf2c12a773336c9ea7e74c7eb82d1b3286c4c9 |
File details
Details for the file flake8_import_order_fuzeman-1.7.0-py2.py3-none-any.whl
.
File metadata
- Download URL: flake8_import_order_fuzeman-1.7.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffbbca9be2d0c341232424b9167ccd939d722907bb4b27a6d0416d58b5e56945 |
|
MD5 | b0dfa03f6865b80bdb56429f3490fb74 |
|
BLAKE2b-256 | a00d16180fa4db8ba290923cf30c51f0e44404c2d93355febb9fb4e9fd0dc428 |