style: respect per verifier ignores for git commit

Change-Id: Id00379bdb17594e627ee49c077fb75f499ea550e
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Gabor Dozsa 2016-06-02 10:48:16 +01:00
parent 95d6d9321f
commit f23bd6b248

View file

@ -75,7 +75,7 @@ for status, fname in git.status(filter="MA", cached=True):
verifiers = [ v(ui, opts, base=repo_base) for v in all_verifiers ]
for v in verifiers:
if v.check(fname, regions):
if not v.skip(fname) and v.check(fname, regions):
failing_files.add(fname)
if failing_files: