Skip to content

Enable ruff security, logging and debugging rules (S, T20, LOG, G, DTZ, ERA, TD, FIX, EXE) - #3915

Merged
anth-volk merged 19 commits into
masterfrom
ruff-security-logging
Oct 19, 2026
Merged

anth-volk merged 19 commits into
masterfrom
ruff-security-logging

Register a doc-only rule: agents suppress a ruff finding only as a la…

3f7deea
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 19, 2026 in 1s

84.08% (+37.84%) compared to 43e6c7f

View this Pull Request on Codecov

84.08% (+37.84%) compared to 43e6c7f

Details

Codecov Report

❌ Patch coverage is 50.00000% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.08%. Comparing base (43e6c7f) to head (3f7deea).

Files with missing lines Patch % Lines
...gine_api/services/v2/households/transformations.py 0.00% 6 Missing and 3 partials ⚠️
...olicyengine_api/services/v2/households/services.py 0.00% 2 Missing and 1 partial ⚠️
...icyengine_api/services/v2/households/validators.py 0.00% 2 Missing and 1 partial ⚠️
policyengine_api/services/v2/policies/services.py 0.00% 2 Missing and 1 partial ⚠️
...engine_api/services/v2/policies/transformations.py 0.00% 2 Missing and 1 partial ⚠️
...engine_api/services/v2/user_households/services.py 0.00% 2 Missing and 1 partial ⚠️
...cyengine_api/services/v2/user_policies/services.py 0.00% 2 Missing and 1 partial ⚠️
policyengine_api/data/v2/catalog/extraction.py 0.00% 1 Missing ⚠️
policyengine_api/routes/household_routes.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3915       +/-   ##
===========================================
+ Coverage   46.24%   84.08%   +37.84%     
===========================================
  Files         239      255       +16     
  Lines       13977    15368     +1391     
  Branches     2258     2555      +297     
===========================================
+ Hits         6463    12922     +6459     
+ Misses       6951     1686     -5265     
- Partials      563      760      +197     

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