From 741ac692b04ad09197282e7d5e38df62f7ca298e Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Thu, 19 Jan 2012 19:11:44 +0900 Subject: pylint: add a script to run pylint and pylintrc Signed-off-by: Isaku Yamahata Signed-off-by: FUJITA Tomonori --- pylint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 pylint.sh (limited to 'pylint.sh') diff --git a/pylint.sh b/pylint.sh new file mode 100755 index 00000000..7d03a767 --- /dev/null +++ b/pylint.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +echo "Running pylint ..." +PYLINT_OPTIONS="--rcfile=pylintrc --output-format=parseable" +PYLINT_INCLUDE="ryu bin/ryu-manager bin/ryu-client" +export PYTHONPATH=$PYTHONPATH:.ryu +PYLINT_LOG=pylint.log + +pylint $PYLINT_OPTIONS $PYLINT_INCLUDE > $PYLINT_LOG -- cgit v1.2.3