summaryrefslogtreecommitdiffstats
path: root/ci/pytests/pylint-run.sh
blob: 159a8305374a28629dbac78d53bed43f7f90f7e2 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash
set -e

# Find Python modules and standalone Python scripts
FILES=$(find ./tests/pytests \
	-type d -exec test -e '{}/__init__.py' \; -print -prune -o \
	-name '*.py' -print)

python3 -m pylint -j 0 --rcfile ./tests/pytests/pylintrc ${FILES}