Bug 1623024 - mozlint: Add pylint to the CI r=linter-reviewers,ahal
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 18 Jun 2020 20:05:02 +0000
changeset 536397 2ba0929ca2b552e0450a80bd3aaa508058e0312d
parent 536396 ba8087e38e6c4c4dabe2db96aded343fb1a86fcf
child 536398 ef81294f5db79b7f249fefe43a58e466ae36a272
push id119433
push usersledru@mozilla.com
push dateThu, 18 Jun 2020 20:31:57 +0000
treeherderautoland@ef81294f5db7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinter-reviewers, ahal
bugs1623024
milestone79.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1623024 - mozlint: Add pylint to the CI r=linter-reviewers,ahal Depends on D79076 Differential Revision: https://phabricator.services.mozilla.com/D79099
build/sparse-profiles/docker-image
taskcluster/docker/lint/Dockerfile
taskcluster/docker/lint/system-setup.sh
--- a/build/sparse-profiles/docker-image
+++ b/build/sparse-profiles/docker-image
@@ -10,15 +10,16 @@ path:browser/config/version.txt
 # Result from `grep -hr %include taskcluster/docker | grep -v " taskcluster/" | sort -u`
 path:python/mozbuild/mozbuild/action/tooltool.py
 path:testing/mozharness/external_tools/performance-artifact-schema.json
 path:testing/mozharness/external_tools/robustcheckout.py
 path:tools/lint/spell/codespell_requirements.txt
 path:tools/lint/eslint/eslint-plugin-mozilla/manifest.tt
 path:tools/lint/eslint/manifest.tt
 path:tools/lint/python/flake8_requirements.txt
+path:tools/lint/python/pylint_requirements.txt
 path:tools/lint/tox/tox_requirements.txt
 
 # Required for the webrender docker image
 path:gfx/wr/ci-scripts/docker-image/setup.sh
 
 # for the system-symbol images
 path:tools/crashreporter/system-symbols/
--- a/taskcluster/docker/lint/Dockerfile
+++ b/taskcluster/docker/lint/Dockerfile
@@ -25,16 +25,18 @@ ADD topsrcdir/taskcluster/docker/recipes
 ADD topsrcdir/taskcluster/docker/recipes/install-mercurial.sh /build/install-mercurial.sh
 ADD system-setup.sh /tmp/system-setup.sh
 # %include tools/lint/eslint/manifest.tt
 ADD topsrcdir/tools/lint/eslint/manifest.tt /tmp/eslint.tt
 # %include tools/lint/eslint/eslint-plugin-mozilla/manifest.tt
 ADD topsrcdir/tools/lint/eslint/eslint-plugin-mozilla/manifest.tt /tmp/eslint-plugin-mozilla.tt
 # %include tools/lint/python/flake8_requirements.txt
 ADD topsrcdir/tools/lint/python/flake8_requirements.txt /tmp/flake8_requirements.txt
+# %include tools/lint/python/pylint_requirements.txt
+ADD topsrcdir/tools/lint/python/pylint_requirements.txt /tmp/pylint_requirements.txt
 # %include tools/lint/spell/codespell_requirements.txt
 ADD topsrcdir/tools/lint/spell/codespell_requirements.txt /tmp/codespell_requirements.txt
 # %include tools/lint/tox/tox_requirements.txt
 ADD topsrcdir/tools/lint/tox/tox_requirements.txt /tmp/tox_requirements.txt
 RUN bash /tmp/system-setup.sh
 
 # %include taskcluster/scripts/run-task
 ADD topsrcdir/taskcluster/scripts/run-task /builds/worker/bin/run-task
--- a/taskcluster/docker/lint/system-setup.sh
+++ b/taskcluster/docker/lint/system-setup.sh
@@ -80,22 +80,23 @@ tooltool_fetch <<EOF
     "filename": "fzf-0.20.0-linux_amd64.tgz",
     "unpack": true
   }
 ]
 EOF
 mv fzf /usr/local/bin
 
 ###
-# Flake8 Setup
+# Flake8/pylint Setup
 ###
 
 cd /setup
 
 pip3 install --require-hashes -r /tmp/flake8_requirements.txt
+pip3 install --require-hashes -r /tmp/pylint_requirements.txt
 
 ###
 # codespell Setup
 ###
 
 cd /setup
 
 pip3 install --require-hashes -r /tmp/codespell_requirements.txt