Skip to content

Commit

Permalink
pylint: Consolidate configuration to reusable file
Browse files Browse the repository at this point in the history
  • Loading branch information
mwutzke committed Aug 7, 2021
1 parent 1d86f0f commit 3441b95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[MASTER]
# enable=all
disable=
fixme,
import-error

[FORMAT]
max-line-length=120
Expand Down
2 changes: 1 addition & 1 deletion tests/codecheck/min_pylint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ for file in "$@" ; do
echo ""
echo "------------------------------------------------------------------"
echo "pylint report for ${file}"
pylint --fail-under=${MINRATING} -d import-error ${file} || \
pylint --fail-under=${MINRATING} ${file} || \
(echo "pylint rating for ${file} is below minimum of ${MINRATING}" && exit 1)
done

0 comments on commit 3441b95

Please sign in to comment.