Skip to content

Enable ruff annotation rules (ANN) - #3905

Draft
anth-volk wants to merge 12 commits into
masterfrom
ruff-annotations
Draft

anth-volk wants to merge 12 commits into
masterfrom
ruff-annotations

Review the 6.4.1 bundle's catalog and deprecate the removed UK input

34af5fd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 15, 2026 in 1s

85.48% (+41.68%) compared to e76065e

View this Pull Request on Codecov

85.48% (+41.68%) compared to e76065e

Details

Codecov Report

❌ Patch coverage is 73.86364% with 46 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.48%. Comparing base (e76065e) to head (34af5fd).

Files with missing lines Patch % Lines
policyengine_api/runtime_cache/core.py 22.22% 0 Missing and 14 partials ⚠️
policyengine_api/spm.py 66.66% 4 Missing and 1 partial ⚠️
policyengine_api/asgi_factory.py 62.50% 3 Missing ⚠️
policyengine_api/specification.py 57.14% 2 Missing and 1 partial ⚠️
...e_api/utils/payload_validators/validate_country.py 66.66% 2 Missing and 1 partial ⚠️
policyengine_api/worker_spm.py 57.14% 1 Missing and 2 partials ⚠️
policyengine_api/data/orm.py 50.00% 1 Missing and 1 partial ⚠️
policyengine_api/data/v2/catalog/extraction.py 60.00% 1 Missing and 1 partial ⚠️
...pi/fastapi_routes/v2/households/document_models.py 60.00% 1 Missing and 1 partial ⚠️
policyengine_api/libs/gateway_auth.py 60.00% 1 Missing and 1 partial ⚠️
... and 5 more
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3905       +/-   ##
===========================================
+ Coverage   43.80%   85.48%   +41.68%     
===========================================
  Files         183      198       +15     
  Lines       11219    12412     +1193     
  Branches     1993     2266      +273     
===========================================
+ Hits         4915    10611     +5696     
+ Misses       5812     1100     -4712     
- Partials      492      701      +209     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.