Skip to main content

A flake8 plugin to ensure typing module import convention

Project description

flake8-import-style

Build Coverage PyPI

A flake8 plugin to ensure explicit module imports.

pip install flake8_typing_import_style
flake8 *.py

Errors (enabled by default):

  • I801 use 'import ...' instead of 'from ... import ...'

Tested with Python 2.7, 3.4, 3.5, and 3.6.

Type make test or tox to run the test suite in a virtual environment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flake8-typing-import-style-0.5.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file flake8-typing-import-style-0.5.0.tar.gz.

File metadata

  • Download URL: flake8-typing-import-style-0.5.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/5.10.2-2-MANJARO

File hashes

Hashes for flake8-typing-import-style-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c1354254402b0724139dcb0ee99c5b6b7055c341caae4a5d631419b137968fc8
MD5 8eca746d5f824e2751ab0c0a4224eb8d
BLAKE2b-256 6f94e10b13a3ca684ba17366d19c556dd54794db12982abdad77acb7854e88ea

See more details on using hashes here.

File details

Details for the file flake8_typing_import_style-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_typing_import_style-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e64d7c992c681fedc87a0e93fec52156bc3b528b704fe4c1cbdf265788e8e94
MD5 0a38d4cdb4139c6f4726e391f9ee5d77
BLAKE2b-256 22f5c24b31b24f6020670f7b4303a729cadbcc560d8e316f7f7451735050eccb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page