#isort — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #isort, aggregated by home.social.
-
#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
-
#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 -
Time for a bit of #cleanup and #documentation for #repod
https://gitlab.archlinux.org/archlinux/repod/-/merge_requests/146
https://gitlab.archlinux.org/archlinux/repod/-/merge_requests/145I wish #ruff was more compatible with #Python 3.10. Using a lot of match-case statements makes it explode sadly. Was a bit looking forward replacing #flake8, #isort, #pycodestyle and #pydocstyle with it.
I hope it improves in the future. It looks really promising (and fast!). -
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 @[email protected]
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 -
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.
-
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.