6 Commits

Author SHA1 Message Date
Andreas Jaeger
996a0f5b9c Run pep8 everywhere
Since the Zuul v2 files are removed, we can lint pep8 with less changes
everywhere. Enable pep8 linting everywhere and fix remaining problems.

Depends-On: Id67d0149b645bd23e460cef65719541f76f0967b
Change-Id: I0ac0709b05912d00d02a51d732b1cf12eaf888a5
2017-10-21 16:50:07 +00:00
Andreas Jaeger
4adbecad99 Fix flake8
fix a "bug" in that the flake8 configuration in tox.ini was exclusively
selecting H231 as the only error it would report, so it was missing the
errors in the python modules (such as submit_log_processor_jobs). Due to
this being the case for a long time (since 2004) limit the more thorough
linting to the roles/ and playbooks/ directories where we'll be adding
ansible plugins/modules/etc. Also, lint in jenkins/script and nodepool.

Fix problems found.

We can lint everything with pep8 once the zuul v2 scripts are removed,
not worth patching them right now.

Change-Id: I479f010643cf3b67c183d763510f07a33400d38b
Co-Authored-By: Jesse Keating <omgjlk@us.ibm.com>
2017-10-21 18:37:10 +02:00
Clint Adams
983626a715 Factor out yaml emitter/dumper functions from normalize_projects_yaml.py
This moves the functions used by normalize_projects_yaml.py out for the
purposes of being imported by multiple scripts.

Change-Id: I76a93124fdbe13bce34a0c5073fa66bc86806c0a
2015-09-28 19:19:13 -04:00
James E. Blair
dfe8b92214 Remove upstreams from projects.yaml
And update the normalization script to do so.

Change-Id: Ia204da5e71e53d8175bc74e957b33db367b58ab4
2015-03-06 21:25:24 +01:00
James E. Blair
59a5567dcc Wrap projects.yaml at 80 characters
And update the normalization script.

Change-Id: I4e56e1372441e5af80a3fda1302e9a569b922ad5
2015-03-06 19:51:20 +00:00
James E. Blair
bb2bba6f56 Normalize Gerrit projects.yaml
Add a script to perform the normalization.

Change-Id: I9ebc75f8a5096fe65f7a30df43e60c67bb943aa0
2015-03-06 20:50:02 +01:00