Skip to content

Commit

Permalink
couple little grammar fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
betsybookwyrm committed Dec 8, 2021
1 parent 5004bb5 commit 79d1b2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tidy_tweet/tweet_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def map_tweet(tweet_json, directly_collected: bool) -> Dict[str, List[Dict]]:
# A tweet can have no more than one referenced tweet per type, but may have
# multiple references of different types.
# e.g. a tweet may have both a quoted tweet and a replied to tweet, but can't
# have two replied to tweets.
# have two replied_to tweets.
rt_id = None
qt_id = None
replied_to_id = None
Expand Down Expand Up @@ -377,8 +377,8 @@ def map_tweet(tweet_json, directly_collected: bool) -> Dict[str, List[Dict]]:
# --- Convenience lists ---
def clean_sql_statement(original: str) -> str:
"""
Cleans up SQL statements so they end with a semicolon and don't have any leading or
trailing whitespace
Cleans up SQL statements so that they end with a semicolon and don't have any
leading or trailing whitespace
"""
clean = original.strip()
if not clean.endswith(";"):
Expand Down

0 comments on commit 79d1b2b

Please sign in to comment.