pants icon indicating copy to clipboard operation
pants copied to clipboard

Integrate pants and trunk.io

Open ndellosa95 opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. My company mandates the use of trunk.io on all repos. I want to integrate our monorepo with pants, which already has a lot of trunk.io's features built in. While I could just ensure I'm using the same tools and versions across both pants and trunk, I'd greatly prefer to just have a single source of truth here.

Describe the solution you'd like A new linter/fixer in pants that offloads linting/fixing/formatting to trunk.

Describe alternatives you've considered I considered going the other direction and adding a new plugin to trunk that offloads these features to pants instead. However, trunk's configuration is not as flexible as pants - namely it requires a static set of file names or extensions to run linters on, as opposed to pants' dynamic target system.

ndellosa95 avatar Jul 23 '24 14:07 ndellosa95