We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a5e0e1 commit 20549fdCopy full SHA for 20549fd
scripts/format/cmake_format.py
@@ -1,6 +1,6 @@
1
#!/usr/bin/env python3
2
#
3
-# Copyright (C) 2020 Intel Corporation
+# Copyright (C) 2020-2021 Intel Corporation
4
5
# SPDX-License-Identifier: MIT
6
@@ -30,6 +30,7 @@ def remove_extra_spaces(line):
30
line = re.sub(r'\)AND\(', ') AND (', line)
31
line = re.sub(r'\)OR\(', ') OR (', line)
32
line = re.sub(r'NOT\(', 'NOT (', line)
33
+ line = re.sub(r' *\) *(?=[A-Z])', ') ', line)
34
return line
35
36
0 commit comments