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:
parent
5d6f6a12ed
commit
27ebdc4ec3
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -76,3 +76,7 @@ setup:
|
||||||
.PHONY: update
|
.PHONY: update
|
||||||
update:
|
update:
|
||||||
poetry update
|
poetry update
|
||||||
|
|
||||||
|
.PHONY: install-pre-commit
|
||||||
|
install-pre-commit:
|
||||||
|
$(run) pre-commit install
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue