Lines Matching +full:pylint +full:- +full:exit
8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -ex
19 IGNORE_PATTERNS=--ignore-patterns='.*pb2\.py,.*pb2_grpc\.py'
38 python3 -m virtualenv $VIRTUALENV -p $(which python3)
42 $PYTHON -m pip install --upgrade pip==19.3.1
44 # TODO(https://github.com/grpc/grpc/issues/23394): Update Pylint.
45 $PYTHON -m pip install --upgrade astroid==2.3.3 pylint==2.2.2 "isort>=4.3.0,<5.0.0"
47 EXIT=0
49 $PYTHON -m pylint --rcfile=.pylintrc -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1
53 $PYTHON -m pylint --rcfile=.pylintrc-tests -rn "$dir" ${IGNORE_PATTERNS} || EXIT=1
57 -iname "*.py" \
58 -not -name "*_pb2.py" \
59 -not -name "*_pb2_grpc.py" \
60 | xargs $PYTHON -m pylint --rcfile=.pylintrc-examples -rn ${IGNORE_PATTERNS}
62 exit $EXIT