Improve formatting of Python files (#30919)

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
Taym Haddadi 2023-12-25 00:58:37 +01:00 committed by GitHub
parent df157dcc03
commit 554b35b705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 48 additions and 54 deletions

View file

@ -54,9 +54,9 @@ def print_line(value1, value2, key):
for key in keys:
value1 = data1.get(key)
value2 = data2.get(key)
if value1 and not(value2):
if value1 and not (value2):
print("{}Test {}: missing from {}.{}".format(WARNING, key, args.file2, END))
elif value2 and not(value1):
elif value2 and not (value1):
print("{}Test {}: missing from {}.{}".format(WARNING, key, args.file1, END))
elif value1 and value2:
total1 += value1