mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-07-31 07:49:23 +00:00
Tests (all four Python versions) failed on test_over_budget_same_state_omits_prefix while passing locally. Root cause: CI installed only ".[test]", leaving out the optional geo extra (us, pycountry). normalize_us_state() returns (None, None) when `us` is absent, so "Washington" no longer normalizes to "WA" and the AQI prefix-budget path wrongly concluded the resolved state differed from default_state, keeping the "Seattle, WA: " prefix. Install ".[test,geo]" in both the test matrix and the mypy job. This also un-skips ~27 geo-dependent tests that were silently skipping in CI and which pass with the extra present. Also ignore _debug/, a local scratch directory for captured configs and logs that should never be committed.