Ansel 0.0
A darktable fork - bloat + design vision
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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\'')

◆ CLANG_OFF

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

◆ CLANG_ON

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

◆ files

update_modelines.files = []

◆ 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'

◆ NOTIFICATION_LINE

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

◆ ret

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

◆ updater

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

◆ VIM_MODELINE

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