Skip to content

Commit

Permalink
fix: Inconsistent param names in defence
Browse files Browse the repository at this point in the history
  • Loading branch information
r-leyshon committed Oct 17, 2023
1 parent a69df6e commit 343b55e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transport_performance/osm/validate_osm.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def _filter_target_dict_with_list(
"""
_type_defence(targets, "targets", dict)
_type_defence(search_key, "feature_type", str)
_type_defence(search_key, "search_key", str)
_check_list(_list, "_list", exp_type=int)
_check_list(accepted_keys, "accepted_features", exp_type=str)
_check_list(accepted_keys, "accepted_keys", exp_type=str)
_check_item_in_list(search_key, accepted_keys, "search_key")

feat = search_key.lower().strip()
Expand Down

0 comments on commit 343b55e

Please sign in to comment.