Commit Graph

4 Commits (master)

Author SHA1 Message Date
Eric Harney e8fe5aaf6a fast8 improvements
Determines how many commits to check based
on the $FAST8_NUM_COMMITS env variable.

If set to "smart", it uses git to try to run
against all unsubmitted commits.  This allows
fast8 to be more useful when actively developing
a series of patches.

Change-Id: I0adfba626ba2ea3479faf0f6ade712f14d3080d3
2019-01-22 14:36:23 -05:00
Eric Harney ee4604baf3 Fix tox -e fast8
This currently doesn't report failures.

Also restrict files tested to HEAD~1..HEAD
instead of HEAD~2..HEAD.

Change-Id: I4983db5594fc2746eb28ec87a74d5d0ba27c9aaf
2016-01-08 11:05:44 -05:00
Eric Harney e64f2bb32c fast8: Skip git rm'd files
Don't print error messages trying to diff files
that have been removed via git rm.

Change-Id: Ia0945541208fd7a8362843587f797506000479fc
2015-11-19 16:15:40 -05:00
Eric Harney 7e5c074351 Add "fast8" tox env
This replicates the -8 behavior, running
flake8 only on changes made in the last commit and
working tree.

Change-Id: Iebd5746c78e840225f0860843c77f4c638877c26
2015-09-22 15:43:51 -04:00