From 8f458162ccd3d3b0de3a5b7b41b5a87f8442046a Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Jan 2024 17:44:50 +0700 Subject: [PATCH] chore(makefile): update --- Makefile | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index c557c31..08dfe00 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,26 @@ -.PHONY: install test +.PHONY: test + +install-all: install pc-install install: poetry install --sync -lint: - poetry run poe lint +pc-install: + pre-commit install -test: - poetry run pytest +update: + poetry update + +update-latest: + poetry up --latest + +checks: pc-run lint test pc-run: pre-commit run -a -pc-install: - pre-commit install +lint: + poetry run poe lint -poetry-up: - poetry up --latest +test: + poetry run pytest