Can pants work with different linting and formatting settings, specified individually in each project's
pyproject.toml
in a monorepo, or does it only take one config file total and only do config file discovery in the repo root?
b
bitter-ability-32190
03/20/2023, 1:45 PM
It varies by tool, we've been inconsistent. Its possible (in code) to do "nearest config" and we should, since different slices of the monorepo might want different settings.
But today most tools it's one or none. There's an open ticket floating around. I think it'd be easy-ish to implement in our "generic" code path so everyone benefits
bitter-ability-32190
03/20/2023, 1:45 PM
We'd love to help you implement it if you're interested 🙂