Add a Makefile target for installing pre-commit hooks

Any time I cause my venv to be rebuilt, I need to remember to do this, and I
always have to search my shell history to remind myself what the command is.
That feels like it deserves to go into the Makefile.
This commit is contained in:
Dave Pearson
2023-03-01 12:44:51 +00:00
parent 5d6f6a12ed
commit 27ebdc4ec3

View File

@@ -76,3 +76,7 @@ setup:
.PHONY: update
update:
poetry update
.PHONY: install-pre-commit
install-pre-commit:
$(run) pre-commit install