For the code in `[pylint].source_plugins` , I woul...
# general
p
For the code in
[pylint].source_plugins
, I would like to use the resolve from
[pylint].lockfile
, but setting
resolve="pylint"
in the source_plugins BUILD file, says that pylint is not a valid resolve name. Is there a good way to tie that code to the tool's lockfile?
h
this would be https://github.com/pantsbuild/pants/issues/12449 I was doing prework but didn't finish making tests happy https://github.com/pantsbuild/pants/pull/15186
p
I added a comment in the issue. Thanks for the pointer
h
ohhhh I totally forgot about this ticket https://github.com/pantsbuild/pants/issues/14320
that modeling is definitely a bit weird / some duplication...but I think it should work
p
Just read the issue description and yeah that looks like my precise issue. I'll check out the rest of the discussion later
h
fyi there isn't much discussion. only reason the issue is still open is we need to write tests to confirm this works
source plugins are so niche that I suspect this design is "good enough"
p
Man. I'm tripping over lots of niche stuff as I try to add pants to StackStorm. 😅
Or maybe it's just those pylint plugins that keep messing with me. I've grown a strong dislike for pylint... 😜
h
me too