Skip to content

Commit

Permalink
Adding support for the 2025 Ioniq 5 N
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Chapman committed Apr 12, 2024
1 parent 55bfec0 commit 8d4756e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libs/common_query_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ class CommonInventoryQueryParams:
"""

valid_models = [
"^Ioniq(%20|\+|\s|\-)5((%20|+|-)N)?$", # Hyundai Ioniq 5 and 5 N # noqa: W605
"^Ioniq(%20|+|\s|-)6$", # Hyundai Ioniq 6 # noqa: W605
"^Kona(%20|+|\s)Ev$", # Hyundai Kona EV # noqa: W605
r"^Ioniq(%20|\+|\s|\-)5((%20|\+|\-)N)?$", # Hyundai Ioniq 5 and 5 N # noqa: W605
r"^Ioniq(%20|\+|\s|\-)6$", # Hyundai Ioniq 6 # noqa: W605
r"^Kona(%20|\+|\s)Ev$", # Hyundai Kona EV # noqa: W605
"^N$", # Kia EV6
"^V$", # Kia Niro EV
"^P$", # Kia EV9
Expand Down Expand Up @@ -47,7 +47,7 @@ def __init__(
):
# Zip is passed in as a query parameter string. When casting to an int, the
# leading 0s are stripped, so "00501" becomes 501. Padding with 0s as needed.
self.zip = f"{zip: 05}"
self.zip = f"{zip:05}" # noqa: E231
self.year = year
self.radius = radius
self.model = model
Expand Down

0 comments on commit 8d4756e

Please sign in to comment.