Bug 1623024 - mozlint: run pylint at review phase r=linter-reviewers,ahal
authorSylvestre Ledru <sledru@mozilla.com>
Thu, 18 Jun 2020 20:05:20 +0000
changeset 536398 ef81294f5db79b7f249fefe43a58e466ae36a272
parent 536397 2ba0929ca2b552e0450a80bd3aaa508058e0312d
child 536399 becb8f58dec10bd062a712f5d1d5c3636d082581
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: run pylint at review phase r=linter-reviewers,ahal Depends on D79099 Differential Revision: https://phabricator.services.mozilla.com/D79430
taskcluster/ci/source-test/mozlint.yml
--- a/taskcluster/ci/source-test/mozlint.yml
+++ b/taskcluster/ci/source-test/mozlint.yml
@@ -212,16 +212,29 @@ py-flake8:
     when:
         files-changed:
             - '**/*.py'
             - '**/.flake8'
             - 'tools/lint/flake8.yml'
             # moz.configure files are also Python files.
             - '**/*.configure'
 
+py-pylint:
+    description: pylint run over the gecko codebase
+    treeherder:
+        symbol: py(pylint)
+    run:
+        mach: lint -v -l pylint -f treeherder -f json:/builds/worker/mozlint.json *
+    when:
+        files-changed:
+            - '**/*.py'
+            - 'tools/lint/pylint.yml'
+            # moz.configure files are also Python files
+            # However, pylint has some hard time dealing with it
+
 test-manifest:
     description: lint test manifests
     treeherder:
         symbol: misc(tm)
     run:
         mach: lint -v -l test-disable -f treeherder -f json:/builds/worker/mozlint.json *
     when:
         files-changed: