mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Check for tabs in augeas files
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
ce7ae55ea1
commit
12ba706d6d
2
cfg.mk
2
cfg.mk
@ -485,7 +485,7 @@ sc_size_of_brackets:
|
|||||||
# Ensure that no C source file, docs, or rng schema uses TABs for
|
# Ensure that no C source file, docs, or rng schema uses TABs for
|
||||||
# indentation. Also match *.h.in files, to get libvirt.h.in. Exclude
|
# indentation. Also match *.h.in files, to get libvirt.h.in. Exclude
|
||||||
# files in gnulib, since they're imported.
|
# files in gnulib, since they're imported.
|
||||||
space_indent_files=(\.(rng|s?[ch](\.in)?|html.in|py|pl|syms)|(daemon|tools)/.*\.in)
|
space_indent_files=(\.(aug(\.in)?|rng|s?[ch](\.in)?|html.in|py|pl|syms)|(daemon|tools)/.*\.in)
|
||||||
sc_TAB_in_indentation:
|
sc_TAB_in_indentation:
|
||||||
@prohibit='^ * ' \
|
@prohibit='^ * ' \
|
||||||
in_vc_files='$(space_indent_files)$$' \
|
in_vc_files='$(space_indent_files)$$' \
|
||||||
|
@ -20,8 +20,8 @@ module Libvirt_lockd =
|
|||||||
let entry = bool_entry "auto_disk_leases"
|
let entry = bool_entry "auto_disk_leases"
|
||||||
| bool_entry "require_lease_for_disks"
|
| bool_entry "require_lease_for_disks"
|
||||||
| str_entry "file_lockspace_dir"
|
| str_entry "file_lockspace_dir"
|
||||||
| str_entry "lvm_lockspace_dir"
|
| str_entry "lvm_lockspace_dir"
|
||||||
| str_entry "scsi_lockspace_dir"
|
| str_entry "scsi_lockspace_dir"
|
||||||
let comment = [ label "#comment" . del /#[ \t]*/ "# " . store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
|
let comment = [ label "#comment" . del /#[ \t]*/ "# " . store /([^ \t\n][^\n]*)?/ . del /\n/ "\n" ]
|
||||||
let empty = [ label "#empty" . eol ]
|
let empty = [ label "#empty" . eol ]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user