Skip to content

Enable ruff structure and import rules (INP, PLC, SLF, N, A, FAST, E) - #3920

Merged
anth-volk merged 22 commits into
masterfrom
ruff-structure-imports
Oct 20, 2026
Merged

anth-volk merged 22 commits into
masterfrom
ruff-structure-imports

Wrap the long docstring summary #3959 added (E501)

2b3bed8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 20, 2026 in 1s

84.71% (+38.54%) compared to d91b8e1

View this Pull Request on Codecov

84.71% (+38.54%) compared to d91b8e1

Details

Codecov Report

❌ Patch coverage is 82.88288% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.71%. Comparing base (d91b8e1) to head (2b3bed8).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
policyengine_api/fastapi_routes/dependencies.py 33.33% 12 Missing ⚠️
policyengine_api/country.py 0.00% 2 Missing ⚠️
policyengine_api/services/user_policy_mirroring.py 0.00% 2 Missing ⚠️
...gine_api/services/household_calculation_service.py 50.00% 1 Missing ⚠️
policyengine_api/services/household_mirroring.py 0.00% 1 Missing ⚠️
policyengine_api/services/policy_mirroring.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3920       +/-   ##
===========================================
+ Coverage   46.17%   84.71%   +38.54%     
===========================================
  Files         239      258       +19     
  Lines       13987    15672     +1685     
  Branches     2272     2638      +366     
===========================================
+ Hits         6458    13276     +6818     
+ Misses       6958     1626     -5332     
- Partials      571      770      +199     

☔ 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.