Skip to main content
Release file added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

flake8-import-order

Build Status

A flake8 and Pylama plugin that checks the ordering of your imports.

In general stdlib comes first, then 3rd party, then local packages, and that each group is indivudually alphabetized, see Configuration section for details.

It will not check anything else about the imports. Merely that they are grouped and ordered correctly.

This plugin is under somewhat active development and is heavily influenced by the personal preferences of the developers of cryptography. Expect seemingly random changes and configuration changes as we figure out how it should work.

Warnings

This package adds 3 new flake8 warnings

  • I100: Your import statements are in the wrong order.

  • I101: The names in your from import are in the wrong order.

  • I201: Missing newline between sections or imports.

Configuration

You will want to set the application-import-names option to a comma separated list of names that should be considered local to your application. These will be used to help categorise your import statements into the correct groups.

import-order-style controls what style the plugin follows (cryptography is the default):

Limitations

Currently these checks are limited to module scope imports only. Conditional imports in module scope will also be ignored. The classification of an import as being non-stdlib of some kind depends on that package actually being installed.

I103 only checks that groups of imports are not consecutive and only takes into account the first line of each import statement. This means that multi-line from imports, comments between imports and so on may cause this error not to be raised correctly in all situations. This restriction is due to the data provided by the stdlib ast module.

Metadata

Release files for flake8-import-order 0.7

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for flake8-import-order 0.7
File Size Uploaded Provenance Actions
flake8-import-order-0.7.tar.gz 12.9 kB File added late: Without provenance Details for flake8-import-order-0.7.tar.gz

Built distribution (wheel)

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

Total release size: 24.5 kB

Release files / flake8-import-order-0.7.tar.gz

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL flake8-import-order-0.7.tar.gz
Size 12.9 kB
Tags Source
SHA-256 checksum
How to use checksums
657276c3cde2c208c5b1074c70d4a3a7afe4bc9e5e2ba9fc4983a65adfa8e4cb
BLAKE2b-256 checksum
How to use checksums
a6549aeea04f883d3ff18ebd69cfe8a3f866d41cad0f6624ca9296e6b5b8bcdd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / flake8_import_order-0.7-py2.py3-none-any.whl

Download URL flake8_import_order-0.7-py2.py3-none-any.whl
Size 11.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7f80ce3356d7f4acb9b81984d941d7f08ad23fd988b70841443026d83b7a2ca4
BLAKE2b-256 checksum
How to use checksums
055e769bfef3bad898926fcde845fb1decc3363bf1458cf06c416ed6d640bd5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for flake8-import-order 0.7

Upload timing

Release file added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files No provenance

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