From 7529ba7822efd40a7f437a73fa75c0d266a673a7 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 1 Jul 2013 10:43:55 -0700 Subject: [PATCH] Enable pep8 + pylint gating. In order to avoid simple mistakes in anvil it is pretty useful to enable the basic sets of style and sanity checks that pep8 and pylint can provide. Change-Id: I97e742838d92bb099368f818a76e2374e297bc52 Fixes: bug #1196623 Reviewed-on: https://review.openstack.org/35167 Reviewed-by: James E. Blair Reviewed-by: Monty Taylor Reviewed-by: Jeremy Stanley Approved: Clark Boylan Reviewed-by: Clark Boylan Tested-by: Jenkins --- .../files/jenkins_job_builder/config/projects.yaml | 10 ++++++++++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index a3d98d3b92..3931440fc4 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -1188,3 +1188,13 @@ jobs: - python-jobs + +- project: + name: anvil + github-org: stackforge + node: precise + tarball-site: tarballs.openstack.org + + jobs: + - gate-{name}-pep8 + - gate-{name}-pylint diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index 6bf2d6d1f0..cf7e05babc 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -1646,9 +1646,11 @@ projects: - name: stackforge/anvil check: - - gate-noop + - gate-anvil-pep8 + - gate-anvil-pylint gate: - - gate-noop + - gate-anvil-pep8 + - gate-anvil-pylint - name: stackforge/savanna check: