importanize
importanize copied to clipboard
Utility for organizing Python imports using PEP8 or custom rules
Hi, I installed importanize with pip and it seems like I am not grouping stdlib imports properly. Do you have any insights on the issue? I am using version 0.7.0...
The help message states that `grouped` and `inline-grouped` are the only available options, however the documentation in the README.md file implies that you can also use `lines`. I was only...
Running importanize on a file that has Unix style endings on Windows will change all line endings to CRLF. It should leave line ending alone and respect source file formatting....
Imports could be ordered either: ``` import a import z from a import b from z import y ``` or ``` import a from a import b import z from...
Hello. Could you please suggest for some reasons why this config in `pre-commit-config.yaml` does not work: ``` repos: - repo: https://github.com/miki725/importanize/ rev: 'master' hooks: - id: importanize name: importanize entry:...
In some scenarios, before an import is made, it requires another import which also needs to execute a regular Python statement: ``` import a a.foo() import b # requires both...