Running Pre-commit in Docker

Make your "pre-commit" command run in a Docker container and reduce attack surface on your development system! You probably know pre-commit which is a super-popular way to automatically install and run the required linters of a Git repository. It'll fetch all the required software and run it from an isolated environment, such as a virtual environment or a node environment. Only problem: It's not…