7 additional_commands = {
'foo': {
'flags': [
'BAR',
'BAZ'],
8 'kwargs': {
'DEPENDS':
'*',
'HEADERS':
'*',
'SOURCES':
'*'}}}
22 with section(
"format"):
44 fractional_tab_policy =
'use-space'
48 max_subgroups_hwrap = 2
59 separate_ctrl_name_with_space =
False
62 separate_fn_name_with_space =
False
72 dangle_align =
'prefix'
91 command_case =
'lower'
94 keyword_case =
'upper'
97 always_wrap = [
"add_executable",
"add_library",
98 "target_link_libraries",
"target_include_directories",
"install"]
112 require_valid_layout =
False
121 with section(
"markup"):
132 first_comment_is_literal =
False
136 literal_comment_pattern =
None
140 fence_pattern =
'^\\s*([`~]{3}[`~]*)(.*)$'
144 ruler_pattern =
'^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'
148 explicit_trailing_pattern =
'#<'
153 hashruler_min_length = 10
157 canonicalize_hashrulers =
True
160 enable_markup =
False
165 with section(
"lint"):
171 function_pattern =
'[0-9a-z_]+'
174 macro_pattern =
'[0-9a-z_]+'
178 global_var_pattern =
'[A-Z][0-9A-Z_]+'
182 internal_var_pattern =
'[A-Z][0-9A-Z_]+'
186 local_var_pattern =
'[_A-Za-z][A-Za-z0-9_]+'
190 private_var_pattern =
'[0-9a-z_]+'
194 public_var_pattern =
'.*'
198 argument_var_pattern =
'[a-z_][a-z0-9_]+'
202 keyword_pattern =
'[A-Z][0-9A-Z_]+'
206 max_conditionals_custom_parser = 2
209 min_statement_spacing = 1
212 max_statement_spacing = 2
222 with section(
"encode"):
225 emit_byteorder_mark =
False
228 input_encoding =
'utf-8'
232 output_encoding =
'utf-8'
237 with section(
"misc"):