Skip to content

Commit

Permalink
Parseable output format for newer pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
lantz committed Dec 3, 2014
1 parent 2256a53 commit db45b7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit db45b7c

Please sign in to comment.