Fix linting
This commit is contained in:
@@ -28,9 +28,10 @@ def run_queries_and_save_to_json(
|
||||
):
|
||||
loop = always_get_an_event_loop()
|
||||
|
||||
with open(output_file, "a", encoding="utf-8") as result_file, open(
|
||||
error_file, "a", encoding="utf-8"
|
||||
) as err_file:
|
||||
with (
|
||||
open(output_file, "a", encoding="utf-8") as result_file,
|
||||
open(error_file, "a", encoding="utf-8") as err_file,
|
||||
):
|
||||
result_file.write("[\n")
|
||||
first_entry = True
|
||||
|
||||
|
||||
@@ -59,9 +59,10 @@ def run_queries_and_save_to_json(
|
||||
):
|
||||
loop = always_get_an_event_loop()
|
||||
|
||||
with open(output_file, "a", encoding="utf-8") as result_file, open(
|
||||
error_file, "a", encoding="utf-8"
|
||||
) as err_file:
|
||||
with (
|
||||
open(output_file, "a", encoding="utf-8") as result_file,
|
||||
open(error_file, "a", encoding="utf-8") as err_file,
|
||||
):
|
||||
result_file.write("[\n")
|
||||
first_entry = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user