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

Data Structures

class  update_modelines.estate
 
class  update_modelines.modelines_updater_t
 

Namespaces

namespace  update_modelines
 

Variables

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