Skip to content

Commit

Permalink
Merge pull request #72 from Shuyib/Shuyib-patch-4
Browse files Browse the repository at this point in the history
Update Makefile
  • Loading branch information
Shuyib authored Nov 18, 2024
2 parents 52cb31d + d559ed2 commit 3863972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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__ &&\
Expand All @@ -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
Expand Down

0 comments on commit 3863972

Please sign in to comment.