From e6d8e974ce98905c7fca6f90b1c1546020c76106 Mon Sep 17 00:00:00 2001 From: Bob Lantz <rlantz@cs.stanford.edu> Date: Fri, 2 Mar 2012 15:39:05 -0800 Subject: [PATCH] Added errcheck target which only checks for errors. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f3e26e01..cc65d2eb 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,11 @@ codecheck: $(PYSRC) pylint --rcfile=.pylint $(PYSRC) pep8 --repeat --ignore=$(P8IGN) $(PYSRC) +errcheck: $(PYSRC) + -echo "Running check for errors only" + pyflakes $(PYSRC) + pylint -E --rcfile=.pylint $(PYSRC) + test: $(MININET) $(TEST) -echo "Running tests" mininet/test/test_nets.py -- GitLab