[Openstack] Openstack special sauce checking tool??

Johannes Erdfelt johannes at erdfelt.com
Thu Jun 28 18:03:31 UTC 2012


On Thu, Jun 28, 2012, Joshua Harlow <harlowja at yahoo-inc.com> wrote:
> I remember hearing once that someone had a openstack import/hacking
> style checking tool.
> 
> I was wondering if such a thing existed to verify same the openstack
> way of doing imports and other special checks to match the openstack
> style.
> 
> I know a lot of us run pep8/pylint, but those don't catch these special
> sauce checks....
> 
> And it would be nice to not have to manually check these (visually...)
> but be able to run a tool that would just do the basic checks.
> 
> Does such a thing exist??

It's in tools/hacking.py and is run automatically when running the PEP8
checks with run_tests.sh.

JE





More information about the Openstack mailing list