@pkw Btw, here is a `.dir-locals.el` file with the #Eglot configuration for #pylsp with fuzzy #jedi completion and #ruff instead of #yapf for formatting, and #mypy for type checking.

(copy-pastable code in alt-text)

#Python #Emacs

@setthemfree @holger
It does bracketing differently and line length is shorter, I think, not sure which style I prefer…

#yapf or #black

But it's good to know there are alternatives available (:*

@setthemfree @holger
Goes looking for #yapf

Colour me curious (;*

I came with the idea of switching from #yapf to #black in the service I work. Now, what is the best approach to handler this? How can I make this transition smoother?
There are a few thousands lines to be changed 😬
#python #python3