@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.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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d6d0300b95bb622c9b7882dfdcb134c0b43e379c090125dd115b86af211d4cc |
|
MD5 | 3179ce37aada7ba174960b561ab28ff7 |
|
BLAKE2b-256 | cab1b664130dec5c4d0dca4d1d483f82981010b063e03d1d7bd408f99c867074 |
Hashes for flake8_import_order_fuzeman-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca179173c429f57bacdcad7354fabe8ecae864b6e2736c86841b89e81779755 |
|
MD5 | ebe9fd5f3ca25f9ef512dbdd56fa8869 |
|
BLAKE2b-256 | e002b8a6d3051597a2e108f50e82faad938885e8c350f223f3db2f67d728f1ca |