Skip to content

Commit

Permalink
Enabled all warnings in addition to errors for path linter
Browse files Browse the repository at this point in the history
  • Loading branch information
mlampert committed Jul 1, 2019
1 parent 20b78fc commit f45a11f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mod/Path/utils/path-lint.sh
Expand Up @@ -61,8 +61,10 @@ EXTERNAL_MODULES+=' area'
EXTERNAL_MODULES+=' importlib'
EXTERNAL_MODULES+=' pivy'

ARGS+=" --errors-only"
#ARGS+=" --errors-only"
ARGS+=" --disable=C,R"
ARGS+=" --ignored-modules=$(echo ${EXTERNAL_MODULES} | tr ' ' ',')"
ARGS+=" --ignore=post"
ARGS+=" --jobs=4"

if [ -z "$(which pylint)" ]; then
Expand All @@ -72,3 +74,4 @@ fi

#pylint ${ARGS} PathScripts/ PathTests/
pylint ${ARGS} PathScripts/

0 comments on commit f45a11f

Please sign in to comment.