From d823f13b9bbc353879076ccc878ef43ac5917944 Mon Sep 17 00:00:00 2001 From: Hans D Chaudry <62669434+HansChaudry@users.noreply.github.com> Date: Fri, 17 Jul 2026 08:10:10 -0400 Subject: [PATCH 1/4] Update missing method to include new value 149 for FOG --- python_weather/enums.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_weather/enums.py b/python_weather/enums.py index cab0b5e..ae2c725 100644 --- a/python_weather/enums.py +++ b/python_weather/enums.py @@ -298,7 +298,7 @@ class Kind(BasicEnum): @classmethod def _missing_(cls, value: object) -> 'Kind | None': - if value in (248, 260): + if value in (149, 248, 260): return cls.FOG elif value in (263, 353): return cls.LIGHT_SHOWERS From 7e7844022f8d42035a461cf4202ad9846c32000a Mon Sep 17 00:00:00 2001 From: Hans D! Chaudry Date: Thu, 23 Jul 2026 13:23:16 -0400 Subject: [PATCH 2/4] creating new Kind for SMOKY_HAZE --- python_weather/enums.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python_weather/enums.py b/python_weather/enums.py index ae2c725..e3c079f 100644 --- a/python_weather/enums.py +++ b/python_weather/enums.py @@ -295,10 +295,11 @@ class Kind(BasicEnum): HEAVY_SNOW_SHOWERS = 335 THUNDERY_HEAVY_RAIN = 389 THUNDERY_SNOW_SHOWERS = 392 + SMOKY_HAZE = 149 @classmethod def _missing_(cls, value: object) -> 'Kind | None': - if value in (149, 248, 260): + if value in (248, 260): return cls.FOG elif value in (263, 353): return cls.LIGHT_SHOWERS From 0d0bb72034c26740d69cbaffd903b1a89e39d3cc Mon Sep 17 00:00:00 2001 From: Hans D! Chaudry Date: Thu, 23 Jul 2026 14:08:56 -0400 Subject: [PATCH 3/4] updating test to inlcude new Kind --- tests/test_enums.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_enums.py b/tests/test_enums.py index b7c2ce8..98a5a93 100644 --- a/tests/test_enums.py +++ b/tests/test_enums.py @@ -34,6 +34,7 @@ def test_HeatIndex_works(index: int) -> None: 119, 122, 143, + 149, 176, 179, 182, From 0be4316e70569ac801b1be09cf6d22d904ea8f59 Mon Sep 17 00:00:00 2001 From: Hans D! Chaudry Date: Thu, 23 Jul 2026 14:11:23 -0400 Subject: [PATCH 4/4] pushing emoji changes --- python_weather/constants.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_weather/constants.py b/python_weather/constants.py index 6266132..346400f 100644 --- a/python_weather/constants.py +++ b/python_weather/constants.py @@ -45,5 +45,6 @@ def __repr__(self) -> str: '❄️', '🌩', '⛈', + '🌫', ) WIND_DIRECTION_EMOJIS = '↑', '↖', '←', '↙', '↓', '↘', '→', '↗'