From d559ed287859b353c2fc94756ce9c78f48d4480b Mon Sep 17 00:00:00 2001 From: Legendrea Date: Mon, 18 Nov 2024 13:52:09 +0300 Subject: [PATCH] Update Makefile fix specification of formatting and linting. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 78a13b7..cfc7fb4 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ install: requirements.txt # prerequisite format: install #format code - black *.py utils/*.py testing/*.py + $(PYTHON) black *.py utils/*.py testing/*.py clean: # clean directory of cache files, virtual environment, and data rm -rf __pycache__ &&\ @@ -46,7 +46,7 @@ docstring: activate install pyment -w -o numpydoc *.py lint: activate install format #flake8 or #pylint - pylint --disable=R,C --errors-only *.py utils/*.py testing/*.py + $(PYTHON) pylint --disable=R,C --errors-only *.py utils/*.py testing/*.py test: activate install format lint #test python -m pytest testing/*.py