jenkins-bot has submitted this change and it was merged.

Change subject: trigger pep8/pyflakes on tox.ini|.pep8 change
......................................................................


trigger pep8/pyflakes on tox.ini|.pep8 change

When a change simply edit .pep8 or the tox.ini file, trigger the pep8
and pyflakes jobs even if no python file has been changed.  Both files
could be used to alter the rules being used for linting.

Change-Id: I2ed5789d5a0167da5c1e5095b455bebc6f1e0d9a
---
M layout.yaml
1 file changed, 2 insertions(+), 4 deletions(-)

Approvals:
  Hashar: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/layout.yaml b/layout.yaml
index 6af9888..65b52d3 100644
--- a/layout.yaml
+++ b/layout.yaml
@@ -260,7 +260,7 @@
     # Non-voting (most of our script fail the tests miserably)
     voting: false
     files:
-     - '^.*\.py$'
+     - '^(.*\.py|tox.ini|.pep8)$'
 
   - name: ^.*-perllint$
     files:
@@ -271,8 +271,6 @@
 
   - name: operations-puppet-pep8
     voting: true
-    files:
-     - '^.*\.py$'
     failure-pattern: 
'https://integration.wikimedia.org/ci/job/{job.name}/{build.number}/violations/'
 
   - name: operations-software-pep8
@@ -284,7 +282,7 @@
     # do not vote by default
     voting: false
     files:
-     - '^.*\.py$'
+     - '^(.*\.py|tox.ini)$'
 
   # PHP CodeSniffer (experimental)
   - name: ^.*-phpcs(-HEAD)?$

-- 
To view, visit https://gerrit.wikimedia.org/r/81828
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2ed5789d5a0167da5c1e5095b455bebc6f1e0d9a
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
Gerrit-Reviewer: Hashar <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to