On Mon, Dec 15, 2014 at 05:04:59PM +0800, Chen CH Ji wrote:
> 
> tox -e pep8 usually takes several minutes on my test server, actually I
> only changes one file and I knew something might wrong there
> anyway to only check that file? Thanks a lot

Use

  ./run_tests.sh -8


That will only check pep8 against the files listed in the current
commit. If you want to check an entire branch patch series then

  git rebase -i master  -x './run_tests.sh -8'

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to