This looks very interesting, but I have a question: how to deal with multiple independent projects in the same repo? Say I have projects A, B, and C, and I made a change to a file in C. How can I make mypy run inside C only? The command would be `mypy C` from the repo root, but how can I configure pre-commit to do that?
This question also applies to GitHub Actions, which is something I'd like to implement too.