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