Makefile.python: make "make check" use pre-commit
this reduces logic duplication, YAY!
Test Plan
make check in a repo of swh-environment of your choice
Migrated from D2984 (view on Phabricator)
this reduces logic duplication, YAY!
make check in a repo of swh-environment of your choice
Migrated from D2984 (view on Phabricator)