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:
@@ -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")},
|
||||
|
Reference in New Issue
Block a user