Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
update_modelines Namespace Reference

Data Structures

class  estate
 
class  modelines_updater_t
 

Variables

str CLANG_OFF = '// clang-format off\n'
 
str NOTIFICATION_LINE = '// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py\n'
 
str VIM_MODELINE = '// vim: shiftwidth=2 expandtab tabstop=2 cindent\n'
 
str KATE_MODELINE = '// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;\n'
 
str CLANG_ON = '// clang-format on\n'
 
list files = []
 
 args = shlex.split('sh -c \'find src/ -name "*.c" -or -name "*.cc" -or -name "*.h" | grep -v src/external\'')
 
 ret = subprocess.run(args,capture_output=True)
 
 updater = modelines_updater_t(file.strip())
 

Variable Documentation

◆ args

update_modelines.args = shlex.split('sh -c \'find src/ -name "*.c" -or -name "*.cc" -or -name "*.h" | grep -v src/external\'')

Definition at line 119 of file update_modelines.py.

◆ CLANG_OFF

str update_modelines.CLANG_OFF = '// clang-format off\n'

Definition at line 34 of file update_modelines.py.

◆ CLANG_ON

str update_modelines.CLANG_ON = '// clang-format on\n'

Definition at line 38 of file update_modelines.py.

◆ files

update_modelines.files = []

Definition at line 118 of file update_modelines.py.

◆ KATE_MODELINE

str update_modelines.KATE_MODELINE = '// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;\n'

Definition at line 37 of file update_modelines.py.

◆ NOTIFICATION_LINE

str update_modelines.NOTIFICATION_LINE = '// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py\n'

Definition at line 35 of file update_modelines.py.

◆ ret

update_modelines.ret = subprocess.run(args,capture_output=True)

Definition at line 120 of file update_modelines.py.

◆ updater

update_modelines.updater = modelines_updater_t(file.strip())

Definition at line 128 of file update_modelines.py.

◆ VIM_MODELINE

str update_modelines.VIM_MODELINE = '// vim: shiftwidth=2 expandtab tabstop=2 cindent\n'

Definition at line 36 of file update_modelines.py.