]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add ability to run pylint check on modified files only
authorarmando-migliaccio <armamig@gmail.com>
Thu, 26 Feb 2015 05:53:27 +0000 (21:53 -0800)
committerarmando-migliaccio <armamig@gmail.com>
Thu, 5 Mar 2015 17:24:05 +0000 (09:24 -0800)
commit1ed0dcf9789a04d7ba3322542d7ee2dae4d8ccc1
treef45d6873d38c4cf91043ad7b742695341dea0608
parenta8873dc8d6dc876b7acf0c7c6bddb8c382053b40
Add ability to run pylint check on modified files only

Change c0aa0b fused pylint with the checks done with the pep8 testenv.
This has the drawback of increasing the execution time of the command
'tox -epep8' fourfold.

This change introduces the ability to execute the pylint check on just
the list of python files affected by a specific patch. For instance,
this can be done with the following command:

   tox -epep8 HEAD~1

A kind reminder is added, so that folks who end up noticing the spike of
time execution when they run tox -epep8 without posargs, can learn how
they can get their precious minutes back.

Change-Id: Ie2a2b3a0171908d8d8aa8713baaa875adccb7efe
tools/coding-checks.sh [new file with mode: 0644]
tox.ini