Hey yall, Ive been having a bit of trouble setting...
# general
p
Hey yall, Ive been having a bit of trouble setting up the Ruff formatter. I think I got it working, but I have a few questions, and an issue to report Im having a hard time figuring out what the value added to
backend_packages
should be. The docs say it should be
pants.core
, but that doesnt seem to be the case. Checking github, the files exist in the same place as linters, so I tried
pants.backend.python.lint.ruff
, but that didnt work either. I was eventually able to get it with
pants.backend.experimental.python.lint.ruff.check
, Is this backend still experimental? Is this the right value? It would be great to update the docs with the correct backend value https://www.pantsbuild.org/2.21/reference/subsystems/ruff
n
Not sure why the reference docs are wrong, but you’ll find the correct values for the two ruff backends here.
p
Gotcha! Thank you
w
Whoa, what