Skip to content

Enable ruff docstring rules (D) - #3907

Draft
anth-volk wants to merge 19 commits into
masterfrom
ruff-docstrings
Draft

anth-volk wants to merge 19 commits into
masterfrom
ruff-docstrings

Document the user-service proof fixtures and reword two test helpers

29cbf71
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 16, 2026 in 1s

85.35% (+37.73%) compared to 71dba65

View this Pull Request on Codecov

85.35% (+37.73%) compared to 71dba65

Details

Codecov Report

❌ Patch coverage is 22.68041% with 75 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.35%. Comparing base (71dba65) to head (29cbf71).

Files with missing lines Patch % Lines
policyengine_api/fastapi_routes/dependencies.py 8.62% 53 Missing ⚠️
policyengine_api/runtime_cache/core.py 50.00% 14 Missing ⚠️
policyengine_api/services/v2/associations/types.py 0.00% 2 Missing ⚠️
policyengine_api/libs/user_auth.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 ⚠️
policyengine_api/services/user_policy_mirroring.py 0.00% 1 Missing ⚠️
...olicyengine_api/services/v2/user_accounts/types.py 50.00% 1 Missing ⚠️
policyengine_api/worker_spm.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3907       +/-   ##
===========================================
+ Coverage   47.62%   85.35%   +37.73%     
===========================================
  Files         239      255       +16     
  Lines       13425    14762     +1337     
  Branches     2318     2524      +206     
===========================================
+ Hits         6393    12600     +6207     
+ Misses       6395     1411     -4984     
- Partials      637      751      +114     

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