A Tool for automatically reordering python imports
reorder_python_imports Rewrites source to reorder python imports. Tool for automatically reordering python imports. Similar to isort but uses static analysis more. Installation pip install reorder-python-imports Console scripts Consult reorder-python-imports –help for the full set of options. reorder-python-imports takes filenames as positional arguments Common options: –py##-plus: see below. –add-import / –remove-import: see below. –replace-import: see below. –application-directories: by default, reorder-python-imports assumesyour project is rooted at .. If this isn’t true, tell it where yourimport roots live. For example, when using the […]
Read more