contrib/jenkins.sh: Install dependencies before calling pylint

This is the only way we can make sure pylint has all required
information about imports from packages we depend upon.

Change-Id: I29582aa3d7f9ace9ce832d5b907420aaf14881fb
This commit is contained in:
Harald Welte
2024-08-31 19:23:47 +02:00
parent aa182e9815
commit a437d11135

View File

@@ -51,6 +51,12 @@ case "$JOB_TYPE" in
"pylint")
# Print pylint version
pip3 freeze | grep pylint
virtualenv -p python3 venv --system-site-packages
. venv/bin/activate
pip install .
# Run pylint to find potential errors
# Ignore E1102: not-callable
# pySim/filesystem.py: E1102: method is not callable (not-callable)