6 Commits

Author SHA1 Message Date
Matthew Treinish
96e9e88dc0 Enable H407,H305,H307,E122 ignore E123
After bumping the hacking version to the 0.9.x series ignores were
added for several rules. This commit fixes the violations for a subset
of these rules and re-enables the checks.

E123 is ignored because this rule is ignored in the default pep8 by
default, due to a lack of consensus around it.

Change-Id: I8f14cd2ca6afc38d3fe8ee758272071111022896
2014-08-12 17:39:16 -04:00
Masayuki Igawa
e8d31a0b80 Remove vim headers
We don't need to have the vim headers in each source files. We can set
it in our vimrc file instead. Also if set incorrectly, gate (pep8 check)
will catch the mistakes.

More discussions:
http://lists.openstack.org/pipermail/openstack-dev/2013-October/017353.html

Change-Id: I43703e2289212389c7841f44691ae7849ed1f505
Closes-Bug: #1229324
2014-01-20 11:22:45 +09:00
David Kranz
9e3c71780a Accept gzip files in find_stack_traces.py
The server response seems to have changed since this code was originally
written.

Change-Id: Icffc062ce46f59b678fe468560d198567286fe67
2013-10-09 21:51:25 -04:00
Dirk Mueller
1db5db2dc5 Use Python 3.x compatible syntax constructs
Avoid print operator, deprected except and
other things covered by statical checks.

Change-Id: I89f9608b977b2d4567300ec82558284dac347c9a
2013-06-23 20:51:36 +02:00
Sean Dague
70eef03c09 make stack traces tool find individual traces
previously the tool just reprinted out TRACE and ERROR log lines.
Now make it actually collect up TRACE and ERROR into individual
events which will make it easier to cross reference to tempest
tests.

built additional features around stack trace tooling, making it
simpler to find unique events.

Change-Id: Id1fed3343e79e75da3145b5a9c19820b65a0d548
2013-04-09 11:38:50 -04:00
Sean Dague
bcdba0818a add find_stack_traces tool
this is useful to go and collect all the stack traces found for a
particular test run. Helps us easily identify when stack traces
are being generated even on good runs.

Change-Id: Ia5b95be7bc1a425630fba06c7c65cbaa9fa7079f
2013-03-12 15:14:16 -04:00