
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
isort your python imports for you so you don't have to.
This kate plugin enables you to sort Python imports from within Kate using isort:
isort is a Python utility / library to sort imports alphabetically, and automatically separated into sections.
Requires the latest version of Kate or the Pate Kate extensions to be installed.
6 years ago
3.9.0
- Enables manually overriding the config file used from the command line.
- Changes the default max line length to 79 to match PEP8 recommendations.
3.8.3
- Fixes a small issue with the PYPI documentation.
3.8.2
- Fixes how multiple import lines separated by semicolons are parsed.
3.8.1
- Expands isorts detection of stdlib modules.
- Simplifies default terminal output
- Introduces a verbose option to get more complete information of how isort runs.
3.8.0
- Adds support for Kate 3.13 / Pate 2.0
- Minor performance improvement
3.7.2
- Fixes a long standing bug that caused comments on nested from imports to move to the top line of the from import - instead of the same nested import they originally appeared with.
3.7.1
- Fixes a bug that caused certain imports like "times" to incorrectly identify as standard library imports.
3.7.0
- Improves handling of * imports
- Improved handling of spacing before statements directly following imports.
- Fixes a bug atomically parsing files when encoding is set at the top of the file.
- Fixed a bug that made it impossible to sort imports on __init__.py
- Fixed line split for as imports
3.6.2
- Fixed a bug that caused isort to incorrectly wrap imports, when they where wrapped after a period.
3.6.1
- Ensures inline comments placed on import lines follow the pep8 style guidelines.
3.6.0
- Adds support for nested comments within import definitions.
- Fixes an issue setting config options to False.
3.5.0
- Added 'thread' to the known standard library.
- Improved how settings files are merged, no longer requiring the closest settings file to fully define list values.
- Made the number of new lines after the imports block configurable.
- Improved the behaviour of the 'order_by_type' setting.
3.4.2
- Improved sorting of imports based on type of data.
3.4.1
- Support has been added for ordering by the type of data being imported, in addition to basic alphabetical sorting.
3.4.0
- Added support for atomic operation, only applying changes if no syntax errors are introduced.
- Fixed one case where an import was incorrectly skipped over.
3.3.1
- Fixed a potential syntax error with relative imports
3.3.0
- Added support for skipping entire directories
- Added support for setup.cfg based configuration
3.2.0
- Added support for running recursive
- Added dynamic settings lookup, enabling kate-plugin to correctly determine settings when sorting - independent of where it's started.
- Added support for Windows
3.1.2
- Fixed a crash when parsing from a path with unicode characters in Python2
3.1.1
- Fixed placement of additional imports, when no imports existed previously within the file.
3.1.0
- Added support for intelligently balanced multi-line wrapping.
- Fixed an issue that caused section comments to show up more then once.
3.0.0
- Adds support for editorconfig (http://editorconfig.org/)
- Adds support for consistent syntax when adding or removing imports
- Improves handling of files that a user doesn't have permission to read
- Adds the ability to separate import sections with custom comments
2.6.3
- Fixes extra spaces before certain multi-line import statements
2.6.2
- Improves configuration mechanism for setting custom indent modes, fixing bug with quotes ending up in output.
2.6.1
- Fixes an issue sorting imports from standard input
- Adds full documentation to pypi page
2.6.0
- Adds support for forcing all imports to be on their own line
2.5.0
- Added support for changing which section imports default to when it cannot be auto determined.
- Added ability to generate a diff of changes by append "--diff" to the isort command.
- The handling of settings files has been improved.
2.4.1
- Improves intelligent ignoring of imports within comments
2.4.0
- Added support for custom import sub-sections.
- Now intelligently skips import lines that are contained within a comment or string
- Fixed a bug in sort verification when new lines where present in the import line.
- Now returns the error status code from the command line if any of the files being checked in verify mode don't match the desired format.
- Updated known_standard_library list.
2.3.0
- Keeps current selection after sorting, adding, or removing imports.
- Puts explicitly local (aka . imports) in their own separate section.
- Adds support for skipping an entire file by adding isort:skip_file to the modules docstring.
- Adds support for project level configuration.
- Adds initial support for using isort to verify files instead of change them.
2.2.0
- Improved module grouping detection method.
- Added two additional multi-line output modes (Vertical Grid & Vertical Grid Grouped).
2.1.0
- Forces there to be exactly one new line at the end of all sorted files.
- Keeps cursor position on when adding and removing imports.
2.0.1
- Adds support for writing to stdout by appending -d argument
2.0.0
- Now keeps current cursor position after sorting imports.
- Quickly add an import from any location simply by typing ctrl+] then the Python import statement.
- Quickly remove an import from any location simply by typing shift+ctrl+] then the name of the import.
1.3.2
- Fixed a bug that caused an extra new line at the end of files when parsed using stdin
- Improved module placement detection
1.3.1
- Added support for parsing files with unicode characters
- Fallback to distutils when setuptools is not present
1.3.0
- Correctly handle imports at the end of a file
- Correctly identify modules from . as from within the local project
- Fixed a bug where code in the middle of imports was sometimes removed
- Enable isort to be used without configparser
1.2.5
- Switched to use setuptools
- Fixed bug that caused 'skip' files not to be skipped.
6 years ago
3.9.0
- Enables manually overriding the config file used from the command line.
- Changes the default max line length to 79 to match PEP8 recommendations.
3.8.3
- Fixes a small issue with the PYPI documentation.
3.8.2
- Fixes how multiple import lines separated by semicolons are parsed.
3.8.1
- Expands isorts detection of stdlib modules.
- Simplifies default terminal output
- Introduces a verbose option to get more complete information of how isort runs.
3.8.0
- Adds support for Kate 3.13 / Pate 2.0
- Minor performance improvement
3.7.2
- Fixes a long standing bug that caused comments on nested from imports to move to the top line of the from import - instead of the same nested import they originally appeared with.
3.7.1
- Fixes a bug that caused certain imports like "times" to incorrectly identify as standard library imports.
3.7.0
- Improves handling of * imports
- Improved handling of spacing before statements directly following imports.
- Fixes a bug atomically parsing files when encoding is set at the top of the file.
- Fixed a bug that made it impossible to sort imports on __init__.py
- Fixed line split for as imports
3.6.2
- Fixed a bug that caused isort to incorrectly wrap imports, when they where wrapped after a period.
3.6.1
- Ensures inline comments placed on import lines follow the pep8 style guidelines.
3.6.0
- Adds support for nested comments within import definitions.
- Fixes an issue setting config options to False.
3.5.0
- Added 'thread' to the known standard library.
- Improved how settings files are merged, no longer requiring the closest settings file to fully define list values.
- Made the number of new lines after the imports block configurable.
- Improved the behaviour of the 'order_by_type' setting.
3.4.2
- Improved sorting of imports based on type of data.
3.4.1
- Support has been added for ordering by the type of data being imported, in addition to basic alphabetical sorting.
3.4.0
- Added support for atomic operation, only applying changes if no syntax errors are introduced.
- Fixed one case where an import was incorrectly skipped over.
3.3.1
- Fixed a potential syntax error with relative imports
3.3.0
- Added support for skipping entire directories
- Added support for setup.cfg based configuration
3.2.0
- Added support for running recursive
- Added dynamic settings lookup, enabling kate-plugin to correctly determine settings when sorting - independent of where it's started.
- Added support for Windows
3.1.2
- Fixed a crash when parsing from a path with unicode characters in Python2
3.1.1
- Fixed placement of additional imports, when no imports existed previously within the file.
3.1.0
- Added support for intelligently balanced multi-line wrapping.
- Fixed an issue that caused section comments to show up more then once.
3.0.0
- Adds support for editorconfig (http://editorconfig.org/)
- Adds support for consistent syntax when adding or removing imports
- Improves handling of files that a user doesn't have permission to read
- Adds the ability to separate import sections with custom comments
2.6.3
- Fixes extra spaces before certain multi-line import statements
2.6.2
- Improves configuration mechanism for setting custom indent modes, fixing bug with quotes ending up in output.
2.6.1
- Fixes an issue sorting imports from standard input
- Adds full documentation to pypi page
2.6.0
- Adds support for forcing all imports to be on their own line
2.5.0
- Added support for changing which section imports default to when it cannot be auto determined.
- Added ability to generate a diff of changes by append "--diff" to the isort command.
- The handling of settings files has been improved.
2.4.1
- Improves intelligent ignoring of imports within comments
2.4.0
- Added support for custom import sub-sections.
- Now intelligently skips import lines that are contained within a comment or string
- Fixed a bug in sort verification when new lines where present in the import line.
- Now returns the error status code from the command line if any of the files being checked in verify mode don't match the desired format.
- Updated known_standard_library list.
2.3.0
- Keeps current selection after sorting, adding, or removing imports.
- Puts explicitly local (aka . imports) in their own separate section.
- Adds support for skipping an entire file by adding isort:skip_file to the modules docstring.
- Adds support for project level configuration.
- Adds initial support for using isort to verify files instead of change them.
2.2.0
- Improved module grouping detection method.
- Added two additional multi-line output modes (Vertical Grid & Vertical Grid Grouped).
2.1.0
- Forces there to be exactly one new line at the end of all sorted files.
- Keeps cursor position on when adding and removing imports.
2.0.1
- Adds support for writing to stdout by appending -d argument
2.0.0
- Now keeps current cursor position after sorting imports.
- Quickly add an import from any location simply by typing ctrl+] then the Python import statement.
- Quickly remove an import from any location simply by typing shift+ctrl+] then the name of the import.
1.3.2
- Fixed a bug that caused an extra new line at the end of files when parsed using stdin
- Improved module placement detection
1.3.1
- Added support for parsing files with unicode characters
- Fallback to distutils when setuptools is not present
1.3.0
- Correctly handle imports at the end of a file
- Correctly identify modules from . as from within the local project
- Fixed a bug where code in the middle of imports was sometimes removed
- Enable isort to be used without configparser
1.2.5
- Switched to use setuptools
- Fixed bug that caused 'skip' files not to be skipped.
Please login or register to add a comment or rating