1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-05 10:32:28 +01:00
ScreenPlay/.cmake-format.py
2022-03-12 14:36:03 +01:00

20 lines
515 B
Python

# -----------------------------
# Options effecting formatting.
# -----------------------------
with section("format"):
# How wide to allow formatted cmake files
line_width = 140
# How many spaces to tab for indent
tab_size = 4
# If true, the argument lists which are known to be sortable will be sorted
# lexicographicall
enable_sort = True
autosort = True
# If a positional argument group contains more than this many arguments, then
# force it to a vertical layout.
max_pargs_hwrap = 3