laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/37966?usp=email )
Change subject: contrib/jenkins.sh: Install dependencies before calling pylint ......................................................................
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 --- M contrib/jenkins.sh 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/66/37966/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index 3dabdd7..5a6cd43 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -48,6 +48,12 @@ "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)