script, test: fix python linter E275 errors with flake8 5.0.4

This commit is contained in:
Jon Atack authored and jonatack committed 2023-01-03 10:59:56 -08:00
1 parent cb552c5f21
commit 459cb637ac
28 files changed
+93 -93

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import json
def perform_pre_checks():
mock_result_path = os.path.join(os.getcwd(), "mock_result")
if(os.path.isfile(mock_result_path)):
if os.path.isfile(mock_result_path):
with open(mock_result_path, "r", encoding="utf8") as f:
mock_result = f.read()
if mock_result[0]:
+1 -1
View File
@@ -10,7 +10,7 @@ import json
def perform_pre_checks():
mock_result_path = os.path.join(os.getcwd(), "mock_result")
if(os.path.isfile(mock_result_path)):
if os.path.isfile(mock_result_path):
with open(mock_result_path, "r", encoding="utf8") as f:
mock_result = f.read()
if mock_result[0]: