From db45b7c644ee0fa88e615fcb4c3c6177ff8b34b1 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Tue, 2 Dec 2014 23:00:14 -0800 Subject: [PATCH] Parseable output format for newer pylint --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 74da5ac..fe15d14 100644 --- a/Makefile +++ b/Makefile @@ -13,6 +13,7 @@ DOCDIRS = doc/html doc/latex PDF = doc/latex/refman.pdf CFLAGS += -Wall -Wextra +PLFMT = --msg-template='{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}' all: codecheck test @@ -23,7 +24,7 @@ codecheck: $(PYSRC) -echo "Running code check" util/versioncheck.py pyflakes $(PYSRC) - pylint --rcfile=.pylint $(PYSRC) + pylint $(PLFMT) --rcfile=.pylint $(PYSRC) pep8 --repeat --ignore=$(P8IGN) $(PYSRC) errcheck: $(PYSRC) @@ -58,7 +59,7 @@ mn.1: $(MN) mnexec.1: mnexec help2man -N -n "execution utility for Mininet." \ - -h "-h" -v "-v" --no-discard-stderr ./$< -o $@ + -h "-h" -v "-v" --no-discard-stderr ./$< -o $@ .PHONY: doc