2 ms·
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 al
by maleldil 3y ago
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/ https://beta.ruff.rs/docs/rules/