Skip to content

Commit

Permalink
chore: minor typos in gtfs_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRec committed Nov 14, 2023
1 parent 9f3cc25 commit b2a2175
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transport_performance/gtfs/gtfs_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,8 @@ def _get_validation_warnings(
message : str
The regex to use for filtering the warnings.
return_type : str, optional
The return type of the warnings. Can be eithher 'values' or 'dataframe'
by default 'values'
The return type of the warnings. Can be either 'values' or 'dataframe',
by default 'values'
Returns
-------
Expand Down Expand Up @@ -459,7 +459,7 @@ def _function_pipeline(
"""Iterate through and act on a functional pipeline."""
_gtfs_defence(gtfs, "gtfs")
_type_defence(func_map, "func_map", dict)
_type_defence(operations, "oeprations", (dict, type(None)))
_type_defence(operations, "operations", (dict, type(None)))
if operations:
for key in operations.keys():
if key not in func_map.keys():
Expand Down

0 comments on commit b2a2175

Please sign in to comment.