diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | pylint.sh | 9 | ||||
-rw-r--r-- | pylintrc | 5 |
3 files changed, 15 insertions, 0 deletions
@@ -8,3 +8,4 @@ GTAGS GRTAGS GPATH GSYMS +pylint.log 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 diff --git a/pylintrc b/pylintrc new file mode 100644 index 00000000..fb718e95 --- /dev/null +++ b/pylintrc @@ -0,0 +1,5 @@ +[Messages Control] +# C0111: Don't require docstrings on every method +# W0511: TODOs in code comments are fine. +# W0142: *args and **kwargs are fine. +disable=C0111,W0511,W0142 |