红联Linux门户
Linux帮助

isort 4.1.0发布,Python的import排序

发布时间:2015-09-01 11:30:27来源:红联作者:empast
isort 4.1.0 发布,此版本更新内容如下:

Started keeping a log of all changes between releases

Added the isort logo to the command line interface

Added example usage gif to README

Implemented issue #292: skip setting now supports glob patterns

Implemented issue #271: Add option to sort imports purely alphabetically

Implemented issue #301: Readme is now natively in RST format, making it easier for Python tooling to pick up

Implemented pylama isort extension

Fixed issue #260: # encoding lines at the top of the file are now correctly supported

Fixed issue #284: Sticky comments above first import are now supported

Fixed issue #310: Ensure comments don't get duplicated when reformatting imports

Fixed issue #289: Sections order not being respected

Fixed issue #296: Made it more clear how to set arguments more then once

下载:https://github.com/timothycrosley/isort/archive/4.1.0.zip

isort 可自动对 Python 的 import 语句进行排序和分段。可将大量的 import 结构转成非常适合阅读的排版。提供一个命令行工具、Python 库和 Kate 插件。

来自:开源中国社区
文章评论

共有 0 条评论