home.social

#isort — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #isort, aggregated by home.social.

fetched live
  1. #TIL about #isort's `--profile` arg. No longer does it fight with Black for who gets to format a lengthy import statement.

    #Python #DevX

  2. #TIL about #isort's `--profile` arg. No longer does it fight with Black for who gets to format a lengthy import statement.

    #Python #DevX

  3. #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 github.com/PyCQA/isort/pull/20, bump your isort to 5.12.0.

    Update with:

    pre-commit autoupdate

    Or:

    pre-commit autoupdate --repo github.com/PyCQA/isort

    #python

  4. #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 github.com/PyCQA/isort/pull/20, bump your isort to 5.12.0.

    Update with:

    pre-commit autoupdate

    Or:

    pre-commit autoupdate --repo github.com/PyCQA/isort

    #python

  5. 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.

    github.com/PyCQA/isort/issues/
    github.com/PyCQA/isort/pull/20

  6. Time for a bit of #cleanup and #documentation for #repod

    gitlab.archlinux.org/archlinux
    gitlab.archlinux.org/archlinux

    I 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!).

    #archlinux #sundaythings

  7. #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 noisy #pylint!

    Useful for incremental improvement of large codebases.

    From Andrea Guarino's #EuroPython talk:

    youtu.be/KK2GZFZ9_uA?t=1018

  8. #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:

    youtu.be/KK2GZFZ9_uA?t=1018

  9. #isort to sort your imports
    #pylint to yell at you for leaving in unused imports
    pycln to remove the extras
    black to fix the whitespace between imports

    #pycharm then hides all of it in a collapsed region and you never see it.

    #python

  10. #isort to sort your imports
    #pylint to yell at you for leaving in unused imports
    pycln to remove the extras
    black to fix the whitespace between imports

    #pycharm then hides all of it in a collapsed region and you never see it.

    #python

  11. If you have encountered a bug where our extension for 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.

  12. TIL: reorder-python-imports by @[email protected]

    This import sorter for is much faster than , can globally add, remove, and rename imported modules, all while having no config to worry about! pre-commit support is there, too!

    pypi.org/project/reorder-pytho

    Definitely using this on all my projects from now on.

  13. Anyone happen to know the maintainers? For 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.

    github.com/PyCQA/isort/issues/
    github.com/PyCQA/isort/issues/

  14. 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.

    github.com/PyCQA/isort/issues/
    github.com/PyCQA/isort/issues/

  15. FYI for the 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 extension installs the new 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.

  16. 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.

  17. Перестал автоматически работать isort. ​:nkosad:​

    #vim #nvim #ale #isort #python