News for hackers. Stuff that matters.
Re:Ruff: A Fast Python Linter by maleldil on Tuesday June 06, 2023 @04:59PM (#36219039)
Ruff is amazing. I recommend turning on the [I]import rules as a replacement of isort and running `ruff check --fix`. Run it with black for best results.

It also has a very good LSP that complements pyright in my neovim setup. There's also a plug-in for pylsp if you're using an editor that doesn't support multiple LSPs at the same time (e.g. Helix).

After that, check the rules page[0] for anything that might be relevant to your project. Between enabling some of these rules, using pyright, black and sourcery, I feel like the most relevant cases are covered.

[0] https://beta.ruff.rs/docs/rules/

There are no comments on this comment yet.