mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 12:05:03 +00:00
checkpatch: skip over generated files from glib-mkenums
This commit is contained in:
parent
2d28d5d5d4
commit
a9d81031f4
|
@ -116,6 +116,7 @@ if ($is_file and $filename ne $ARGV) {
|
|||
}
|
||||
|
||||
next unless $filename =~ /\.[ch]$/;
|
||||
next if $filename =~ /\/nm-[^\/]+-enum-types\.[ch]$/;
|
||||
|
||||
complain ('Tabs are only allowed at the beginning of a line') if $line =~ /[^\t]\t/;
|
||||
complain ('Trailing whitespace') if $line =~ /[ \t]$/;
|
||||
|
|
Loading…
Reference in a new issue