Add support for ruff linter for Python

It would be great if DeepSource supported ruff natively.


Ruff is a really nice tool, but I wonder what you mean by supporting it “natively”. Ultimately as a linter, it is just a faster implementation of flake8 and various flake8 plugins.

DeepSource already has a good coverage of issues raised by flake8, and most of the plugins that ruff supports are inherently subjective in nature.

While adding more issues and Autofixes from plugins such as flake8-bugbear and flake8-comprehensions is certainly a good idea, adding every single lint from ruff’s collection poses the risk of adding too much noise and subjectivity.

If you’re suggesting a different type of integration, I’d definitely be interested in a discussion.