From 9a44df3e617170f8edc7364b8dd234b1c7547d6d Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 2 Nov 2022 13:24:03 +0100 Subject: add helper code for future minimize feature --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bc47e64..8a99741 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ SRC=$(wildcard *.py) +PYTESTS := minimize.py .PHONY: check check: check-pylint check-format check-mypy @@ -19,6 +20,11 @@ check-mypy: format: yapf -i $(SRC) -.PHONY: test -test: +.PHONY: test unittests pytest +test: unittests pytest + +pytest: + pytest $(PYTESTS) + +unittests: python3 test.py -- cgit v1.2.3