Added lint and flake to make

This commit is contained in:
Alex Kelly 2021-08-20 08:33:29 -04:00
parent 029f715fe7
commit 116be2fd53
3 changed files with 105 additions and 1 deletions

View file

@ -1,5 +1,6 @@
# Set output dir
BUILDDIR=dist
PROJECT_BASE=task_status
#GH/github command used to initiate a release
GH=/usr/bin/gh
@ -20,6 +21,12 @@ clean:
poetry-release: build
poetry publish
pyflakes:
pyflakes .
pylint:
pylint ${PROJECT_BASE}
gh-release: build
#Figure out what the last/most recent build is
$(eval LATEST = $(shell ls -t1 ${BUILDDIR}/*|head -n1))