News for hackers. Stuff that matters.
Re:Pre-commit: framework for managing/maintaining multi-lang... by claytonjy on Tuesday December 21, 2021 @10:08AM (#29638052)
The problem is if you use the recommended hooks, pulling from the tool's GitHub repo, that runs off a different venv than the rest of your project. If you leave e.g. black out of your dependencies, and only ever run it with pre-commit, there's not really an issue. I prefer to have everything managed in one place, with black as a dev dependency (I use poetry) so I never use the upstream-maintained hooks, I have to write my own.

There are no comments on this comment yet.