CI: add brackets to one-line blocks

- since we mix Python (indentation is important) with C++ (it isn't),
   having indented one-line blocks which suddenly need {} when a
   statment is added is confusing and error-prone. Instead, make
   the blocks explicit, always, in C++.
main
Adriaan de Groot 7 years ago
parent 94bea9baaf
commit 54c3adb466

@ -5,7 +5,7 @@ indent=spaces=4
# Brackets # Brackets
style=break style=break
remove-brackets # Remove brackets on single-line `if` and `for` (requires astyle 2.04) add-brackets
# Spaces # Spaces
pad-paren-in pad-paren-in

Loading…
Cancel
Save