I've had issues with isortify for a long time on #emacs. Today I decided to try out python-isort and it's been working a lot better.
https://github.com/wyuenho/emacs-python-isort/tree/339814df22b87eebca02137e581f65d6283fce97
#isort failing on #CI in #precommit in with this?
[extras.pipfile_deprecated_finder.2] 'pip-shims<=0.3.4' does not match '^[a-zA-Z-_.0-9]+$'
It's fixed in https://github.com/PyCQA/isort/pull/2078, bump your isort to 5.12.0.
Update with:
pre-commit autoupdate
Or:
pre-commit autoupdate --repo https://github.com/PyCQA/isort
So…who do we know at the #PyCQA that can rush a PR approval on a Saturday? I’m betting a lot of people have a broken #isort #precommit plugin right now.
https://github.com/PyCQA/isort/issues/2077
https://github.com/PyCQA/isort/pull/2078
#Darker is a #Python tool to only apply #Black and #isort to your modified bits of code, but it can also be used to
run other lint tools like the otherwise nosiy #pylint!
Useful for incremental improvement of large codebases.
From Andrea Guarino's #EuroPython talk:
#darker #python #black #isort #pylint #europython
If you have encountered a bug where our #isort extension for #vscode won't stop showing a 💡 on every selected line, we believe we have a fix and will be pushing out a new version tomorrow. Until then you can always disable, uninstall, or try an older version of the extension if it's bothering you too much.
TIL: reorder-python-imports by @codewithanthony@twitter.com
This import sorter for #Python is much faster than #isort, can globally add, remove, and rename imported modules, all while having no config to worry about! pre-commit support is there, too!
https://pypi.org/project/reorder-python-imports/
Definitely using this on all my projects from now on.
Anyone happen to know the #isort maintainers? For #vscode we are running into some issues programmatically calling isort and we're trying to find out if there's a better way to do things.
https://github.com/PyCQA/isort/issues/1940
https://github.com/PyCQA/isort/issues/1989
FYI for the #vscode users out there: having extensions install other extensions is part of the design, and it will happen implicitly and automatically.
Been getting some haters because the #Python extension installs the new #isort extension automatically because we didn't ask for permission. But this functionality is by design. This also allows us to update isort independent of the main extension as well as let you disable/uninstall. Plus the perf is now way better thanks to LSP support.