isort 3.9.6 发布,Python 的 import 排序
3月21日 深圳 OSC 源创会开始报名罗,送华为海思开发板isort 3.9.6 发布,在 isort 3.9.5 发布没几个小时就又发布了 isort 3.9.6,现已提供下载(ZIP)。
isort 3.9.6 改进内容如下:
[*] Fixed inconsistent ordering of imports when sorting from imports case-insensitively
[*] Fixed comments not being placed correctly, when more then one exists above an import
isort 3.9.5 改进内容如下:
[*] Fixed a problem that caused the comments at the top of a file to sometimes get mangled or removed.
[*] Fixed a problem that occurred when imports had the word "from" or "import" in them.
[*] Improved how import sections are determined when running isort within a virtualenv.
[*] Added support for displaying from imports before normal ones using 'from_first' setting.
[*] Added support for separately specifying wrap_length from line length limit.
[*] Added support for adding trailing commas automatically.
isort 可自动对 Python 的 import 语句进行排序和分段。可将大量的 import 结构转成非常适合阅读的排版。提供一个命令行工具、Python 库和 Kate 插件。
页:
[1]