diff --git a/Makefile b/Makefile index 28682c8e..7d325be8 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ +# This `Makefile` is intended for Cowrie developers. # Dummy target `all` all: # Note --aplication-import-names only works on Python3 -test: - flake8 --count --application-import-names cowrie --max-line-length=120 --statistics . +test: lint PYTHONPATH=src trial cowrie build: @@ -12,3 +12,15 @@ build: docs: make -C docs html + +lint: + flake8 --count --application-import-names cowrie --max-line-length=120 --statistics . + +clean: + rm -rf _trial_temp build dist + +pip-upgrade: + pip install --upgrade -r requirements.txt + +pip-check: + pip check