https://github.com/hammerlab/vaxrank
Raw File
Tip revision: 23fe92f5dae04ead2d5d2df0231855eea1921926 authored by Alex Rubinsteyn on 19 August 2020, 19:40:48 UTC
Merge pull request #191 from openvax/use-isovar-for-all-variant-counts
Tip revision: 23fe92f
lint.sh
#!/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 vaxrank test -name '*.py' \
  | xargs pylint \
  --errors-only \
  --disable=print-statement,unsubscriptable-object,not-an-iterable,no-member

echo 'Passes pylint check'
back to top