mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user