proud-dentist-22844
02/07/2023, 5:07 AMFmtRequest and LintRequest now require a subsystem. I even reviewed some of the PRs that changed this, but I did not see how it would impact my in-repo Fmt/Lint plugins.
I have some Fmt rules that use PexFromTargetsRequest to run a script defined in a python resolve on (part of) the code in that same resolve. So, the pants plugin is a fairly light weight wrapper around in-repo code.
Is there something like a null subsystem I can use? Defining a subsystem with requirements, a lockfile, and options, doesn't make much sense, at first blush, when using PexFromTsrgetswide-midnight-78598
02/07/2023, 2:06 PMclass Foo(Subsystem):
name: String
options_scope: String
help = ""proud-dentist-22844
02/07/2023, 2:57 PM