Hashar has uploaded a new change for review.
https://gerrit.wikimedia.org/r/81828
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(-)
git pull ssh://gerrit.wikimedia.org:29418/integration/zuul-config
refs/changes/28/81828/1
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: newchange
Gerrit-Change-Id: I2ed5789d5a0167da5c1e5095b455bebc6f1e0d9a
Gerrit-PatchSet: 1
Gerrit-Project: integration/zuul-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits