Skip to main content

flake8 plugin that integrates isort .

Project description

https://travis-ci.org/gforcada/flake8-isort.svg?branch=master https://coveralls.io/repos/gforcada/flake8-isort/badge.svg?branch=master&service=github

Flake8 meet isort

Use isort to check if the imports on your python files are sorted the way you expect.

Add an .isort.cfg to define how you want your imports sorted and run flake8 as you usually do.

See isort documentation for .isort.cfg available options.

Install

Install with pip:

$ pip install flake8-isort

Options

Since version 1.0 a check for an .isort.cfg file is done.

This potentially avoids to lint a project that has no formal definition of how import should be sorted.

With either --no-isort-config command line switch, or no-isort-config flake8 configuration option it can be disabled.

Requirements

  • Python 2.7, 3.3, 3.4

  • flake8

  • isort

License

GPL 2.0

Changelog

1.0 (2015-12-16)

  • Check for an isort configuration file. [gforcada]

0.2 (2015-09-14)

  • Fix entry point. [gforcada]

0.1.post0 (2015-09-13)

  • Release wheels as well. [gforcada]

0.1 (2015-09-13)

  • Initial release [gforcada]

  • Add all boilerplate files. [gforcada]

  • Create the flake8 plugin per se. [gforcada]

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-isort-1.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flake8_isort-1.0-py2-none-any.whl (4.7 kB view details)

Uploaded Python 2

File details

Details for the file flake8-isort-1.0.tar.gz.

File metadata

  • Download URL: flake8-isort-1.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for flake8-isort-1.0.tar.gz
Algorithm Hash digest
SHA256 b31787879ad20876644d060772fae7d5ccec5bf86fa810b7eaba90600684c07e
MD5 dd0e84cd2aa1cd2e31384bf281d2016a
BLAKE2b-256 409a8ff8729d27b71c61160e474da0c587a5a1c82f17e553cf7d371b7813cbe5

See more details on using hashes here.

File details

Details for the file flake8_isort-1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for flake8_isort-1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 96a604935618594bea86619e68f96a0502446c880a6b1ef6b2d87b1a3d164b47
MD5 97f6f8dca1818bf8541b8a54ebf0f2ec
BLAKE2b-256 bd1912c8ade43f88337e16d4688479f0ffcf2478825bab5b8db3c7e66d3bcdf2

See more details on using hashes here.

Supported by

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