On Wed, Jun 22, 2016 at 10:41 AM, William Townsend <[email protected]> wrote:
> Travis builds will now automatically run flake8 and hacking checks against > Python code and generate warnings. > > Signed-off-by: William Townsend <[email protected]> > > --- > V2: > * Dropped change to .travis.yml, addition of $HOME/.location/bin to $PATH > not needed. > > .travis/linux-prepare.sh | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh > index 752be9f..f8fc952 100755 > --- a/.travis/linux-prepare.sh > +++ b/.travis/linux-prepare.sh > @@ -3,3 +3,5 @@ > git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git > cd sparse && make && make install && cd .. > pip install --disable-pip-version-check --user six > +pip install --user flake8 > +pip install --user hacking > Should these commands also include --disable-pip-version-check? I suspect we're getting warning output without it. I think you can actually just add flake8 and hacking to the end of a single pip command. Thanks for adding this! -- Russell Bryant _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
