script, test: fix python linter E275 errors with flake8 5.0.4
This commit is contained in:
1 parent
cb552c5f21
commit
459cb637ac
28 files changed
+93
-93
No files matched your search
@@ -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]:
|
||||
|
||||
@@ -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]:
|
||||
|
||||
Reference in new issue
Block a user