Atom.io plugin to format and sort Python imports using isort.
Make sure you have isort
and python
installed. Set the python
installation
in the package configuration if necessary. As for installation of isort
, there
are good options such as conda
or pip
.
Heavily influenced by Benjamin Hedrich's atom-python-isort
as well as blacktop's atom-python-yapf. This package is a
more up to date and actively developed version of atom-python-isort
.
I've disabled CI/CD for this project because I can not get Atom CI to work correctly since the latest version of isort came out. Below is some instruction on how to do manual testing.
# first uninstall an pre-existing isort installation,# you'll need to reinstall this yourself at the end of testing.yes | pip uninstall isort# install atom-isortnpm install# check lintingnpx eslint .black src/isort-wrapper.pyflake8 src/isort-wrapper.py# check unit tests against atom and atom-beta against the latest isortyes | pip install isortatom --test specatom-beta --test spec# check unit tests against atom and atom-beta against an isort 4.x versionyes | pip uninstall isortyes | pip install "isort<5"atom --test specatom-beta --test spec
MIT © lexicalunit et al
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.