quaint-telephone-89068
12/29/2025, 4:13 AMpex is listed under pants.backend.python.lint.yapf
python is listed under pants.backend.python.lint.isort
And there are several more.
The problem is the HelpInfoExtractor's diff (along with the incoming hints).
[provider] = difflib.get_close_matches(hint, providers, n=1, cutoff=0.0)
This is often wrong, unless the subsystem is in a file with a similar name as the backend. e.g. The pex subsystem is located in pex_environments, and with the set of providers passed into that line of code - the true backend is very slow on the selection criteria (I think it's roughly 7th).
Favouring shorter names is a reasonable approach, but I'm curious how often this get_close_matches lands versus something more declarative.
pantsbuild/pants