- Add .pre-commit-config.yaml with ruff and black hooks
- Add pre-commit git hook script as fallback
- Add pre-commit to requirements-dev.txt
Running 'pre-commit install' will auto-lint on every commit.
- Fix return type annotation for get_default_premium_for_product
- Add type narrowing for Weight|Money union using _as_money helper
- Add isinstance checks before float() calls for object types
- Add type guard for Decimal.exponent comparison
- Use _unit_typed and _currency_typed properties for type narrowing
- Cast option_type to OptionType Literal after validation
- Fix provider type hierarchy in backtesting services
- Add types-requests to dev dependencies
- Remove '|| true' from CI type-check job
All 36 mypy errors resolved across 15 files.
- add real browser test for overview and options pages
- document engineering learnings in AGENTS.md
- commit NiceGUI header layout fix
- limit options initial expirations for faster first render
- Add -r requirements.txt to requirements-dev.txt
- Fix mypy errors:
- Remove slots=True from Settings dataclass
- Add explicit list[float] type annotations in hedge.py
- Add type ignore comments for optional QuantLib imports
- Use Sequence instead of list in GreeksTable for covariance
- Fix dict type annotation in options.py
- Add type ignore for nicegui attr-defined errors
- Disable attr-defined error code in mypy config