Install the prek hook. This will set up prek to run the checks automatically on your files before you commit them. It's possible that prek will make changes to your files when it runs the checks, so ...