backend formatting

This commit is contained in:
Abubakar Abid 2022-03-17 10:16:31 -07:00
parent 16009b0ec0
commit f23554c2f5

View File

@ -215,7 +215,9 @@ class CSVLogger(FlaggingCallback):
else:
if flag_index is None:
with open(log_fp, "a", newline="") as csvfile:
writer = csv.writer(csvfile, quoting=csv.QUOTE_NONNUMERIC, quotechar="'")
writer = csv.writer(
csvfile, quoting=csv.QUOTE_NONNUMERIC, quotechar="'"
)
if is_new:
writer.writerow(headers)
writer.writerow(csv_data)