https://pantsbuild.org/ logo
#development
Title
# development
a

average-vr-56795

11/28/2019, 5:08 PM
So the problem is: Given a particular
FormattablePythonTarget
there needs to be a unique way to get a
LintResult
There are two functions (both named
fmt
) which provide a way to go from a
FormattablePythonTarget
to a
LintResult
. The only difference between them, as far as the engine is concerned, is that one of them needs an
IsortSetup
and the other one needs a
BlackSetup
. And in all contexts, we can get both of those (because they’re just global things), so as far as the engine is concerned, there are two ways of doing the same thing, and it doesn’t understand.
👍 1