Fix pylint warnings about comparison to True
Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/scripts/code_style.py b/scripts/code_style.py
index 2c7a779..aae3e24 100755
--- a/scripts/code_style.py
+++ b/scripts/code_style.py
@@ -152,9 +152,9 @@
"""
Fix the code style. This takes 2 passes of Uncrustify.
"""
- if fix_style_single_pass(src_file_list) != True:
+ if not fix_style_single_pass(src_file_list):
return 1
- if fix_style_single_pass(src_file_list) != True:
+ if not fix_style_single_pass(src_file_list):
return 1
# Guard against future changes that cause the codebase to require