From 66e708afbe6ef28d7e1cd2346c61e62b6c953449 Mon Sep 17 00:00:00 2001 From: Augusto Wagner Andreoli Date: Wed, 19 Jun 2019 11:16:54 +0200 Subject: [PATCH] build: add Makefile command to update the project --- Makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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