Template Repository for my medium article.

Installation

# if using poetry
poetry add pre-commit
# if using pip
pip install pre-commit
# installing via brew:
brew install pre-commit

Copying the .pre-commit-config.yaml into your project.

Install with git. (requires git installation)

pre-commit install

Run on all files:

pre-commit run --all-files