From cde184ce72570c6d11108b8a3756c73b63f1c665 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Sun, 12 May 2019 17:58:14 +0400 Subject: [PATCH] Makefile updates (#1118) * makefile updates --- Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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