2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

checkpatch: Also exempt Makefile.am from leading whitespace checks.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
This commit is contained in:
Ben Pfaff
2017-06-01 07:36:24 -07:00
parent 67ac844b55
commit fedf830195

View File

@@ -200,7 +200,7 @@ checks = [
'check': lambda x: line_length_check(x),
'print': lambda: print_warning("Line length is >79-characters long")},
{'regex': '$(?<!\.mk)',
{'regex': '$(?<!\.mk|\.am)',
'match_name': None,
'check': lambda x: not leading_whitespace_is_spaces(x),
'print': lambda: print_warning("Line has non-spaces leading whitespace")},