Introduction
In this article, we will discuss the importance of code linting and how to use Ruff to lint your Python code. We will als...
For further actions, you may consider blocking this person and/or reporting abuse
Can you provide any source/documentation for the Creating custom linting rules in Ruff section. AFAIK, ruff is a binary and it cannot be extended. The ruff python library literally calls the binary.
read more about rules here: beta.ruff.rs/docs/rules/
This does not address custom linting rules that you wrote. The ruff docs says it does not support plugins. beta.ruff.rs/docs/faq/#can-i-write...
Very informative, 👏.
Thank you for reading through!
Very Informative ! How do i enable the "highlighting linting errors" in VS Code UI instead of manually running ruff for each file ?
Thank you for reading through!
Ruff can also be used as a VS Code extension or alongside any other editor through the Ruff LSP.
Thanks for the post, we'll probably give it a try within the very few weeks ;-p
Awesome let me know how it goes!
Sure, I will 👍
💭 BtW : We'll use it throught the GH Action
Thinking about writing a dedicating post on using ruff in Actions.
Done! Read below:
dev.to/ken_mwaura1/automate-python...
The section about "Creating custom linting rules in Ruff" sounds too good to be true.
I neither found any documentation nor any code you are referring to..
The issue about a plugin system is still open: github.com/astral-sh/ruff/issues/283
pip install ruff
only installs a single binary.Sounds like a chatgpt halluzination... 😉