Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Project Status: Active — The project has reached a stable, usable state and is being actively developed. https://travis-ci.com/jwodder/flake8-import-order-jwodder.svg?branch=master https://codecov.io/gh/jwodder/flake8-import-order-jwodder/branch/master/graph/badge.svg https://img.shields.io/pypi/pyversions/flake8-import-order-jwodder.svg MIT License https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg

GitHub | PyPI | Issues

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

Release files for flake8-import-order-jwodder 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flake8-import-order-jwodder 0.1.0
File Size Uploaded
flake8-import-order-jwodder-0.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flake8-import-order-jwodder 0.1.0
File Interpreter ABI Platform
flake8_import_order_jwodder-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.5 kB

Release files / flake8-import-order-jwodder-0.1.0.tar.gz

Download URL flake8-import-order-jwodder-0.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c8c2ef2481e201ce07772e9816942fedd203c37721719d1861e2a5182b0589a7
BLAKE2b-256 checksum
How to use checksums
60b3fbd8ffa6e7ce4c85423c3f2ac9b459e5c5890c1c7019d1162d82123bb8f7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / flake8_import_order_jwodder-0.1.0-py2.py3-none-any.whl

Download URL flake8_import_order_jwodder-0.1.0-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9a1259f3c80d9e90aa77705d0c6700180ecf4fc229600f027b464f435210cf0a
BLAKE2b-256 checksum
How to use checksums
b3ed87aa9cc9f309ea275d18973057fc1bad7734e3d618cab013bca3a8854676
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page