Comment by BeeOnRope
How does prek handle pre-push hooks? I.e. how does it determine the list of modified files.
This is a long standing sore point in pre-commit, see https://github.com/pre-commit/pre-commit/issues/860 and also linked duplicates (some of which are not duplicates).