e520359147
It was only running on the first file passed by pre-commit, instead of all. Fixes compatibility with Windows paths to get the basename.