-
Tim O'Donnell authoredTim O'Donnell authored
lint.sh 455 B
#!/bin/bash
set -o errexit
# disabling several categories of errors due to false positives in pylint,
# see these issues:
# - https://bitbucket.org/logilab/pylint/issues/701/false-positives-with-not-an-iterable-and
# - https://bitbucket.org/logilab/pylint/issues/58
find . -name '*.py' -not -path "./docs/*" \
| xargs pylint \
--errors-only \
--disable=print-statement,unsubscriptable-object,not-an-iterable,no-member
echo 'Passes pylint check'