diff --git a/Makefile b/Makefile index cb6a8e5d..33b7bbab 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) @echo 'Extra commands:' @echo ' dev to run some development checks before pushing a commit' + @echo ' update to update pre-commit repos and dependencies' .PHONY: help Makefile @@ -22,6 +23,12 @@ help: sphinx-apidoc --force --module-first --separate --implicit-namespaces --output-dir docs/source nitpick/ @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +update: + clear + pre-commit autoupdate + pre-commit gc + poetry update + dev: clear pre-commit run --all-files