Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 4, 2023
1 parent 5ea15ee commit b1db368
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pgeocode.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ def _get_data(country: str) -> Tuple[str, pd.DataFrame]:
data_path = os.path.join(STORAGE_DIR, country.upper() + ".txt")
if os.path.exists(data_path):
data = pd.read_csv(
data_path, dtype={"postal_code": str}, na_values=NA_VALUES, keep_default_na=False,
data_path,
dtype={"postal_code": str},
na_values=NA_VALUES,
keep_default_na=False,
)
else:
download_urls = [
Expand Down

0 comments on commit b1db368

Please sign in to comment.