Commit ccdd117f authored by Lars Kruse's avatar Lars Kruse

updated the pylint script

* fixed source directory
* moved the script to "scripts/"
* ignore long lines
parent 6dc3fb3c
#!/bin/sh
BASE_PATH="$(dirname "$0")"
set -eu
BASE_PATH="$(cd "$(dirname "$0")"; pwd)"
IGNORE_LIST="C0111,C0103,W0613,R0914,R0911,R0912,W0511,W0603,,R0902,W0612,R0903,R0201,R0915,R0913,W0602"
# more extras
IGNORE_LIST="$IGNORE_LIST,C0301"
PYTHONPATH="$BASE_PATH/src" pylint -i y -d "$IGNORE_LIST" "$1"
PYTHONPATH="$BASE_PATH/pycam" pylint -i y -d "$IGNORE_LIST" "$1"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment