Преглед на файлове

cmake: Alter some of cmake-format options

Xenofon Karamanos преди 5 месеца
родител
ревизия
b102e3f38a
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      cmake/cmake-format.py

+ 2 - 2
cmake/cmake-format.py

@@ -25,7 +25,7 @@ with section("format"): # type: ignore
   disable = False
   disable = False
 
 
   # How wide to allow formatted cmake files
   # How wide to allow formatted cmake files
-  line_width = 80
+  line_width = 100
 
 
   # How many spaces to tab for indent
   # How many spaces to tab for indent
   tab_size = 2
   tab_size = 2
@@ -91,7 +91,7 @@ with section("format"): # type: ignore
   command_case = 'canonical'
   command_case = 'canonical'
 
 
   # Format keywords consistently as 'lower' or 'upper' case
   # Format keywords consistently as 'lower' or 'upper' case
-  keyword_case = 'unchanged'
+  keyword_case = 'upper'
 
 
   # A list of command names which should always be wrapped
   # A list of command names which should always be wrapped
   always_wrap = []
   always_wrap = []