Ruff seems to be a pretty popular python linter: charliermarsh/ruff: An extremely fast Python linter, written in Rust. (github.com)
In the SonarCloud project settings it currently only lists options for report from Bandit, Flake8 and Pylint.
Ruff does support the output in machine readable formats.
From their documentation:
The style in which violation messages should be formatted:
"text"
(default),"grouped"
(group messages by file),"json"
(machine-readable),"junit"
(machine-readable XML),"github"
(GitHub Actions annotations) or"gitlab"
(GitLab CI code quality report).
charliermarsh/ruff: format option
My best guess is that the junit XML format is what you most likely can/could support.
Would you be able to add support?