Files
agessaman 5f97cff8d7 ci: install the geo extra so location tests match a real install
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.
2026-07-22 14:55:58 -07:00

191 lines
2.6 KiB
Plaintext

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
.cache.sqlite
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
node_modules/
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
coverage.json
.cache
nosetests.xml
coverage.xml
coverage.json
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
.cache.*
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS
.DS_Store
Thumbs.db
# Project specific
*.log
logs/
*.log.*
local/*
config.ini
config.min.ini
*.db
*.db-wal
*.db-shm
mctomqtt.py
bot_cli.py
bot_start_time.txt
*.log.*
# Test files and development artifacts (root level)
test_*.py
test_*.db
test_*.log
*_test.py
*_test.db
# Allow tests/ directory (pytest convention)
!tests/
!tests/**/*.py
# Local documentation and development files
docs/local/
test_scripts/
dev/
website/
# pytest.ini committed for asyncio_mode and test discovery
pymc-test/*
config-pymc.ini
*.key
# Docker data directory (user-specific config, databases, logs)
# Ignore contents but keep directory structure
data/*
!data/.gitkeep
!data/randomlines/
!data/randomlines/fortunes.txt
# Node.js / frontend test framework artifacts
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.npm
# package-lock.json is committed for reproducible npm ci in CI
# keep package.json, .eslintrc.json, .htmlhintrc (committed)
# .deb build artifacts
dist/deb-build/
# Local user plugins and config (keep README and .gitkeep only)
local/config.ini
local/commands/*
!local/commands/.gitkeep
local/service_plugins/*
!local/service_plugins/.gitkeep
.claude/settings.local.json
# Local engineering audit reports (may contain security-sensitive findings)
/PROJECT_REVIEW_*.md
# Local debugging scratch (captured configs and logs — may contain real settings)
_debug/