Skip to content

Commit

Permalink
More consistent indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jan 14, 2024
1 parent 885a0b3 commit b7def00
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sqlite_utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,7 @@ class Format(enum.Enum):
rows = rows_from_file(
fp, format=Format.CSV, dialect=csv.excel_tab, encoding=encoding
)[0]
return (
_extra_key_strategy(rows, ignore_extras, extras_key),
Format.TSV,
)
return _extra_key_strategy(rows, ignore_extras, extras_key), Format.TSV
elif format is None:
# Detect the format, then call this recursively
buffered = io.BufferedReader(cast(io.RawIOBase, fp), buffer_size=4096)
Expand Down

0 comments on commit b7def00

Please sign in to comment.