blob: 92413826ce2f81c7d736d98625d93dbafbcf9f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later
set -o errexit -o nounset
cd "$(dirname ${0})/.."
# 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}
|