<@UB2J9BQA0>: in service of <https://github.com/pa...
# development
w
@hundreds-father-404: in service of https://github.com/pantsbuild/pants/issues/13462, i’m doing some refactoring of `fmt`… is this likely to step on anything you’re working on?
h
No you're good, I haven't started refactoring
fmt.py
yet. I do really want to get rid of the boilerplate with setting up new "languages", but it's not a major priority atm and I only have ideas floating around for how to do it
Also I want to update
fmt.py
to work with target-less files, but not clear yet how to do so
w
um, yea. i’m doing that i think. stands in the way of adjusting the interface to allow for batching of formatter invokes
h
doing which part?
w
I do really want to get rid of the boilerplate with setting up new “languages”
h
Cool, I do recommend we fix that boilerplate problem as a precursor given that we expect to make several changes to the
fmt
API. Don't want plugin authors to have to keep changing each month. See https://github.com/pantsbuild/pants/pull/14122 for possible inspiration with union + newtype magic to get that all working.
w
thanks!