broker-sync/tests/providers
Viktor Barzin 6f3bcea23e ci: fix ruff E501 + mypy None-comparison warning
test_imap.py:49 — one-line comment ran past the 100-char line limit
introduced in commit c830856. Split the "£20,000 cap" note onto its
own line above the call.

test_fidelity_planviewer.py:108 — mypy flagged `offset.amount > 0`
where amount is typed Decimal | None. Added an explicit `is not None`
guard; runtime behaviour unchanged (we already check offset is not
None two lines earlier).

$ poetry run ruff check . → All checks passed!
$ poetry run mypy broker_sync tests → Success: no issues found in 43 source files
$ poetry run pytest -q → 133 passed, 1 skipped

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-18 22:52:38 +00:00
..
parsers Add Schwab email parser (port from finance/) 2026-04-17 22:08:40 +00:00
__init__.py Add Trading212 ticker normalisation 2026-04-17 19:29:23 +00:00
test_checkpoint.py Add per-account cursor Checkpoint helper 2026-04-17 19:30:20 +00:00
test_fidelity_planviewer.py ci: fix ruff E501 + mypy None-comparison warning 2026-04-18 22:52:38 +00:00
test_finance_mysql.py Add finance_mysql provider + CLI for historical backfill 2026-04-17 22:38:21 +00:00
test_imap.py ci: fix ruff E501 + mypy None-comparison warning 2026-04-18 22:52:38 +00:00
test_invest_engine.py Add InvestEngineProvider — Bearer-token HTTP client 2026-04-17 21:52:26 +00:00
test_trading212.py Wire T212 pagination, retries, and click<8.2 pin 2026-04-17 19:45:23 +00:00
test_trading212_ticker.py Add Trading212 ticker normalisation 2026-04-17 19:29:23 +00:00