Skip to content

Commit a26d6ec

Browse files
Minor updates in comments and documentation
1 parent 7959fd7 commit a26d6ec

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fise/common/tools.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ def parse_query(query: str) -> list[str]:
6363
tokens.append(token)
6464
token = ""
6565

66-
# For all other characters.
6766
else:
6867
token += char
6968

@@ -153,7 +152,7 @@ def export_to_file(data: pd.DataFrame, file: Path) -> None:
153152
if export_method == "to_json":
154153
kwargs["indent"] = 4
155154

156-
# Exports search records to the specified file with a suitable method.
155+
# Exports search records to the specified file with the specified method.
157156
getattr(data, export_method)(file, **kwargs)
158157

159158

@@ -216,7 +215,7 @@ def export_to_sql(data: pd.DataFrame, database: str) -> None:
216215
# Prompts for replacement if the specified table already exists in the database.
217216
if table in metadata:
218217
force: str = input(
219-
"The specified table already exist, would you like to alter it? (Y/N) "
218+
"The specified table already exists, would you like to alter it? (Y/N) "
220219
)
221220

222221
if force.lower() != "y":

0 commit comments

Comments
 (0)