Variables
.cmake-format.py File Reference

Go to the source code of this file.

Variables

dictionary additional_commands
 
list always_wrap = []
 
string argument_var_pattern = '[a-z][a-z0-9_]+'
 
bool autosort = False
 
string bullet_char = '*'
 
bool canonicalize_hashrulers = True
 
string command_case = 'canonical'
 
string dangle_align = 'prefix'
 
bool dangle_parens = False
 
bool disable = False
 
list disabled_codes = []
 
bool emit_byteorder_mark = False
 
bool enable_markup = True
 
bool enable_sort = True
 
string enum_char = '.'
 
string explicit_trailing_pattern = '#<'
 
string fence_pattern = '^\\s*([`~]{3}[`~]*)(.*)$'
 
bool first_comment_is_literal = False
 
string fractional_tab_policy = 'use-space'
 
string function_pattern = '[0-9a-z_]+'
 
string global_var_pattern = '[A-Z][0-9A-Z_]+'
 
int hashruler_min_length = 10
 
string input_encoding = 'utf-8'
 
string internal_var_pattern = '_[A-Z][0-9A-Z_]+'
 
string keyword_case = 'unchanged'
 
string keyword_pattern = '[A-Z][0-9A-Z_]+'
 
dictionary layout_passes = {}
 
string line_ending = 'unix'
 
int line_width = 80
 
 literal_comment_pattern = None
 
string local_var_pattern = '[a-z][a-z0-9_]+'
 
string macro_pattern = '[0-9A-Z_]+'
 
int max_arguments = 5
 
int max_branches = 12
 
int max_conditionals_custom_parser = 2
 
int max_lines_hwrap = 2
 
int max_localvars = 15
 
int max_pargs_hwrap = 6
 
int max_prefix_chars = 10
 
int max_returns = 6
 
int max_rows_cmdline = 2
 
int max_statement_spacing = 2
 
int max_statements = 50
 
int max_subgroups_hwrap = 2
 
int min_prefix_chars = 4
 
int min_statement_spacing = 1
 
string output_encoding = 'utf-8'
 
dictionary override_spec = {}
 
dictionary per_command = {}
 
string private_var_pattern = '_[0-9a-z_]+'
 
list proptags = []
 
string public_var_pattern = '[A-Z][0-9A-Z_]+'
 
bool require_valid_layout = False
 
string ruler_pattern = '^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'
 
bool separate_ctrl_name_with_space = False
 
bool separate_fn_name_with_space = False
 
int tab_size = 2
 
bool use_tabchars = False
 
list vartags = []
 

Variable Documentation

◆ additional_commands

dictionary additional_commands
Initial value:
1 = { 'foo': { 'flags': ['BAR', 'BAZ'],
2  'kwargs': {'DEPENDS': '*', 'HEADERS': '*', 'SOURCES': '*'}}}

Definition at line 7 of file .cmake-format.py.

◆ always_wrap

list always_wrap = []

Definition at line 97 of file .cmake-format.py.

◆ argument_var_pattern

string argument_var_pattern = '[a-z][a-z0-9_]+'

Definition at line 197 of file .cmake-format.py.

◆ autosort

bool autosort = False

Definition at line 105 of file .cmake-format.py.

◆ bullet_char

string bullet_char = '*'

Definition at line 123 of file .cmake-format.py.

◆ canonicalize_hashrulers

bool canonicalize_hashrulers = True

Definition at line 156 of file .cmake-format.py.

◆ command_case

string command_case = 'canonical'

Definition at line 91 of file .cmake-format.py.

◆ dangle_align

string dangle_align = 'prefix'

Definition at line 72 of file .cmake-format.py.

◆ dangle_parens

bool dangle_parens = False

Definition at line 66 of file .cmake-format.py.

◆ disable

bool disable = False

Definition at line 25 of file .cmake-format.py.

◆ disabled_codes

list disabled_codes = []

Definition at line 167 of file .cmake-format.py.

◆ emit_byteorder_mark

bool emit_byteorder_mark = False

Definition at line 224 of file .cmake-format.py.

◆ enable_markup

bool enable_markup = True

Definition at line 159 of file .cmake-format.py.

◆ enable_sort

bool enable_sort = True

Definition at line 101 of file .cmake-format.py.

◆ enum_char

string enum_char = '.'

Definition at line 126 of file .cmake-format.py.

◆ explicit_trailing_pattern

string explicit_trailing_pattern = '#<'

Definition at line 147 of file .cmake-format.py.

◆ fence_pattern

string fence_pattern = '^\\s*([`~]{3}[`~]*)(.*)$'

Definition at line 139 of file .cmake-format.py.

◆ first_comment_is_literal

bool first_comment_is_literal = False

Definition at line 131 of file .cmake-format.py.

◆ fractional_tab_policy

string fractional_tab_policy = 'use-space'

Definition at line 44 of file .cmake-format.py.

◆ function_pattern

string function_pattern = '[0-9a-z_]+'

Definition at line 170 of file .cmake-format.py.

◆ global_var_pattern

string global_var_pattern = '[A-Z][0-9A-Z_]+'

Definition at line 177 of file .cmake-format.py.

◆ hashruler_min_length

int hashruler_min_length = 10

Definition at line 152 of file .cmake-format.py.

◆ input_encoding

string input_encoding = 'utf-8'

Definition at line 227 of file .cmake-format.py.

◆ internal_var_pattern

string internal_var_pattern = '_[A-Z][0-9A-Z_]+'

Definition at line 181 of file .cmake-format.py.

◆ keyword_case

string keyword_case = 'unchanged'

Definition at line 94 of file .cmake-format.py.

◆ keyword_pattern

string keyword_pattern = '[A-Z][0-9A-Z_]+'

Definition at line 201 of file .cmake-format.py.

◆ layout_passes

dictionary layout_passes = {}

Definition at line 115 of file .cmake-format.py.

◆ line_ending

string line_ending = 'unix'

Definition at line 88 of file .cmake-format.py.

◆ line_width

int line_width = 80

Definition at line 28 of file .cmake-format.py.

◆ literal_comment_pattern

literal_comment_pattern = None

Definition at line 135 of file .cmake-format.py.

◆ local_var_pattern

string local_var_pattern = '[a-z][a-z0-9_]+'

Definition at line 185 of file .cmake-format.py.

◆ macro_pattern

string macro_pattern = '[0-9A-Z_]+'

Definition at line 173 of file .cmake-format.py.

◆ max_arguments

int max_arguments = 5

Definition at line 214 of file .cmake-format.py.

◆ max_branches

int max_branches = 12

Definition at line 213 of file .cmake-format.py.

◆ max_conditionals_custom_parser

int max_conditionals_custom_parser = 2

Definition at line 205 of file .cmake-format.py.

◆ max_lines_hwrap

int max_lines_hwrap = 2

Definition at line 85 of file .cmake-format.py.

◆ max_localvars

int max_localvars = 15

Definition at line 215 of file .cmake-format.py.

◆ max_pargs_hwrap

int max_pargs_hwrap = 6

Definition at line 52 of file .cmake-format.py.

◆ max_prefix_chars

int max_prefix_chars = 10

Definition at line 81 of file .cmake-format.py.

◆ max_returns

int max_returns = 6

Definition at line 212 of file .cmake-format.py.

◆ max_rows_cmdline

int max_rows_cmdline = 2

Definition at line 56 of file .cmake-format.py.

◆ max_statement_spacing

int max_statement_spacing = 2

Definition at line 211 of file .cmake-format.py.

◆ max_statements

int max_statements = 50

Definition at line 216 of file .cmake-format.py.

◆ max_subgroups_hwrap

int max_subgroups_hwrap = 2

Definition at line 48 of file .cmake-format.py.

◆ min_prefix_chars

int min_prefix_chars = 4

Definition at line 76 of file .cmake-format.py.

◆ min_statement_spacing

int min_statement_spacing = 1

Definition at line 208 of file .cmake-format.py.

◆ output_encoding

string output_encoding = 'utf-8'

Definition at line 231 of file .cmake-format.py.

◆ override_spec

dictionary override_spec = {}

Definition at line 11 of file .cmake-format.py.

◆ per_command

dictionary per_command = {}

Definition at line 240 of file .cmake-format.py.

◆ private_var_pattern

string private_var_pattern = '_[0-9a-z_]+'

Definition at line 189 of file .cmake-format.py.

◆ proptags

list proptags = []

Definition at line 17 of file .cmake-format.py.

◆ public_var_pattern

string public_var_pattern = '[A-Z][0-9A-Z_]+'

Definition at line 193 of file .cmake-format.py.

◆ require_valid_layout

bool require_valid_layout = False

Definition at line 111 of file .cmake-format.py.

◆ ruler_pattern

string ruler_pattern = '^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'

Definition at line 143 of file .cmake-format.py.

◆ separate_ctrl_name_with_space

bool separate_ctrl_name_with_space = False

Definition at line 59 of file .cmake-format.py.

◆ separate_fn_name_with_space

bool separate_fn_name_with_space = False

Definition at line 62 of file .cmake-format.py.

◆ tab_size

int tab_size = 2

Definition at line 31 of file .cmake-format.py.

◆ use_tabchars

bool use_tabchars = False

Definition at line 37 of file .cmake-format.py.

◆ vartags

list vartags = []

Definition at line 14 of file .cmake-format.py.



eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:26