Skip to content
Snippets Groups Projects
lint.sh 439 B
Newer Older
#!/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

Tim O'Donnell's avatar
Tim O'Donnell committed
find . -name '*.py' -not -path "./docs/*" \
  | xargs pylint \
  --errors-only \
Tim O'Donnell's avatar
Tim O'Donnell committed
  --disable=unsubscriptable-object,not-an-iterable,no-member

echo 'Passes pylint check'