Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
fix specification of formatting and linting.
  • Loading branch information
Shuyib authored Nov 18, 2024
1 parent 52cb31d commit d559ed2
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 d559ed2

Please sign in to comment.