ljmc ~͛ :unverified: :python: · @ljmc
3 followers · 12 posts · Server fosstodon.org

Having recently tested I find my toolchain for does 98% of the code quality job, the rest being covered by code review. What do you think and what do you use ?

#sonarqube #black #isort #flake8 #mypy #python

Last updated 1 year ago

Gene Pasquet · @etenil
80 followers · 182 posts · Server emacs.ch

I've had issues with isortify for a long time on . Today I decided to try out python-isort and it's been working a lot better.

github.com/wyuenho/emacs-pytho

#emacs #python #isort

Last updated 2 years ago

hugovk · @hugovk
409 followers · 300 posts · Server mastodon.social

failing on in 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

#isort #ci #precommit #python

Last updated 2 years ago

Brad Brown · @bradsbrown
63 followers · 234 posts · Server mastodon.social

So…who do we know at the that can rush a PR approval on a Saturday? I’m betting a lot of people have a broken plugin right now.

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

#pycqa #isort #precommit

Last updated 2 years ago

hugovk · @hugovk
292 followers · 102 posts · Server mastodon.social

is a tool to only apply and to your modified bits of code, but it can also be used to
run other lint tools like the otherwise nosiy !

Useful for incremental improvement of large codebases.

From Andrea Guarino's talk:

youtu.be/KK2GZFZ9_uA?t=1018

#darker #python #black #isort #pylint #europython

Last updated 2 years ago

Matthew Martin ☑ ✅📛 · @mistersql
441 followers · 694 posts · Server mastodon.social

to sort your imports
to yell at you for leaving in unused imports
pycln to remove the extras
black to fix the whitespace between imports

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

#isort #pylint #pycharm #python

Last updated 2 years ago

Brett Cannon · @brettcannon
889 followers · 100 posts · Server fosstodon.org

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.

#isort #vscode

Last updated 2 years ago

Nikita Karamov · @kytta
196 followers · 439 posts · Server fosstodon.org

TIL: reorder-python-imports by @codewithanthony@twitter.com

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.

#python #isort

Last updated 2 years ago

Brett Cannon · @brettcannon
889 followers · 100 posts · Server fosstodon.org

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/

#isort #vscode

Last updated 2 years ago

Brett Cannon · @brettcannon
889 followers · 100 posts · Server fosstodon.org

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.

#vscode #python #isort

Last updated 2 years ago