mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Fix cmake_format
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7a5e0e13a5
commit
20549fdf0e
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
# Copyright (C) 2020-2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -30,6 +30,7 @@ def remove_extra_spaces(line):
|
||||
line = re.sub(r'\)AND\(', ') AND (', line)
|
||||
line = re.sub(r'\)OR\(', ') OR (', line)
|
||||
line = re.sub(r'NOT\(', 'NOT (', line)
|
||||
line = re.sub(r' *\) *(?=[A-Z])', ') ', line)
|
||||
return line
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user