3 ms·
Technically the mercurial pre and post hooks are mostly still there, but I'm not certain we want to support them long term. The existing hook design has some pr
by durham_meta 4y ago
Technically the mercurial pre and post hooks are mostly still there, but I'm not certain we want to support them long term. The existing hook design has some problems.
I'd be curious about your use case, since we don't actually use hooks internally all that much.
- anentropic 4y agoNot the OP, but I've worked on a bunch of projects which use https://pre-commit.com/ https://pre-commit.com/ that ties into git pre-commit hooks (or https://typicode.github.io/husky/#/ https://typicode.github.io/husky/#/ is another) usually to run linters and validators, speeding up the feedback loop (otherwise it's annoying to push changes to a PR and then get a CI failure minutes later for trivial linting issue)
- jsmeaton 4y agoSame here. That’s the framework we use to lint before accepting a commit.