From 351dd7309ae2398c851f6466bfa8007f78738868 Mon Sep 17 00:00:00 2001 From: Stanley Kudrow Date: Sun, 21 Jul 2024 12:24:48 +0300 Subject: [PATCH] add mypy check in the lint section, make the 'test' rule depending on the 'lint' rule --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 8a47935..3d6e965 100644 --- a/makefile +++ b/makefile @@ -19,12 +19,12 @@ format: lint: python -m flake8 $(PKG) + python -m mypy -p $(PKG) python -m ufmt check $(PKG) -test: +test: lint python -m coverage run -m $(PKG).tests python -m coverage report - python -m mypy -p $(PKG) html: .venv README.md docs/* source .venv/bin/activate && sphinx-build -b html docs html