#yapf

@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

((python-base-mode
  . ((eglot-workspace-configuration
      . (:pylsp
         (:plugins
          (:ruff (:enabled t))
           :jedi_completion (:fuzzy t)
           :yapf (:enabled :json-false)
           :mypy (:enabled t)))))))
Qyv (;* has moved *;) 🍍PhotonQyv@mastodon.xyz
2019-10-06

@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 (:*

Qyv (;* has moved *;) 🍍PhotonQyv@mastodon.xyz
2019-10-06

@setthemfree @holger
Goes looking for #yapf

Colour me curious (;*

Tudor Plugarutudorplugaru
2019-05-30

I came with the idea of switching from to 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 😬

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst