← Back to team overview

openstack team mailing list archive

Re: Openstack special sauce checking tool??

 

I've recently discovered that running code against Cython tends to catch things that pep8/pylint won't catch.  

One great thing it does is detect if a required import is missing. The other tools don't do this.  The only downside I've found so far has been that it has very limited support for __future__.

--  
Eric Windisch


On Thursday, June 28, 2012 at 13:48 PM, Timothy Daly wrote:

> nova has tools/hacking.py, which looks like it does check some import stuff, among other things.
>  
> -tim
>  
> On Jun 28, 2012, at 10:15 AM, Joshua Harlow wrote:
>  
> > Hi all,
> >  
> > 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??
> >  
> > Thx,
> >  
> > Josh
>  
>  
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx (mailto:openstack@xxxxxxxxxxxxxxxxxxx)
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>  
>  



References