Allow include/exclude options in several checks.

check_no_long_lines, check_no_stray_whitespace, check_no_tabs,
check_tabbed_indents will accept options to include/exclude
specific files from checking.

We can often run better checks (e.g. pylint) than those naive
checks. In such cases, it is a good idea to exclude files from
checks partially (e.g. *.py only), rather than totally opting


Change-Id: Ie3015e1d30064e3335d677657b7613f0315e4df0
Commit-Ready: Prathmesh Prabhu <>
Tested-by: Shuhei Takahashi <>
Reviewed-by: Mike Frysinger <>
2 files changed