isort 4.2.4 发布,Python 的 import 排序

来源: OSCHINA
编辑: oschina
2016-03-30 00:00:00

isort 4.2.4 发布了。

改进日志:

  • Fixed an issue that caused module that contained functions before doc strings, to incorrectly place imports

  • Fixed regression in how force_alphabetical_sort was being interpretted (issue #409)

  • Fixed stray print statement printing skipped files (issue #411)

  • Added option for forcing imports into a single bucket: no_sections

  • Added option for new lines between import types (from, straight): lines_between_sections


下载地址:

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

展开阅读全文
点击加入讨论🔥(2) 发布并加入讨论🔥
2 评论
14 收藏
分享
返回顶部
顶部