Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
boazhaim committed Dec 3, 2024
1 parent c3aae34 commit b4106ea
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,14 @@ def __init__(
def _remove_empty_lines_from_csv(input_file):
temp_file = input_file + ".temp"

with open(
with (
open(
input_file, "r", newline="", encoding=DataConstants.UTF8ENCODING
) as infile, open(
) as infile,
open(
temp_file, "w", newline="", encoding=DataConstants.UTF8ENCODING
) as outfile:
) as outfile,
):
reader = csv.reader(infile)
writer = csv.writer(outfile)

Expand Down

0 comments on commit b4106ea

Please sign in to comment.