https://pantsbuild.org/ logo
l

loud-laptop-17949

05/19/2022, 7:51 PM
Is there a way to tell pants to ignore inferred python string imports on a case-by-case basis?
✅ 1
b

bitter-ability-32190

05/19/2022, 7:52 PM
On the line, use
# pants: no-infer-dep
I'm proud of that one 😃
l

loud-laptop-17949

05/19/2022, 7:53 PM
great, thanks
that doesn't appear to be in the docs anywhere
b

bitter-ability-32190

05/19/2022, 7:54 PM
Yeeeah someone else pointed that out too 🙂
@hundreds-father-404 where should we add it?
b

bitter-ability-32190

05/19/2022, 7:56 PM
Fair enough!
ðŸĪŠ 1
Ah actually this was added to 2.13, which doesn't have docs yet 😕
l

loud-laptop-17949

05/19/2022, 8:32 PM
ha ok
we are on 2.11 still
b

bitter-ability-32190

05/19/2022, 8:33 PM
Yeah, FWIW this is just a docs thing