pylint: add a script to run pylint and pylintrc
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
d05fbf2807
commit
741ac692b0
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ GTAGS
|
|||||||
GRTAGS
|
GRTAGS
|
||||||
GPATH
|
GPATH
|
||||||
GSYMS
|
GSYMS
|
||||||
|
pylint.log
|
||||||
|
9
pylint.sh
Executable file
9
pylint.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user