Skip to content

Switch code formatter from Black to Ruff

c0e719e
Select commit
Loading
Failed to load commit list.
Merged

Switch code formatter from Black to Ruff #3317

Switch code formatter from Black to Ruff
c0e719e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 6, 2026 in 0s

72.20% (+0.00%) compared to f3a7d44

View this Pull Request on Codecov

72.20% (+0.00%) compared to f3a7d44

Details

Codecov Report

❌ Patch coverage is 69.62025% with 24 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.20%. Comparing base (f3a7d44) to head (c0e719e).
⚠️ Report is 15 commits behind head on master.

Files with missing lines Patch % Lines
policyengine_api/endpoints/economy/compare.py 37.50% 9 Missing and 1 partial ⚠️
policyengine_api/endpoints/policy.py 0.00% 5 Missing ⚠️
policyengine_api/routes/report_output_routes.py 33.33% 2 Missing ⚠️
policyengine_api/services/report_output_service.py 33.33% 2 Missing ⚠️
policyengine_api/country.py 85.71% 1 Missing ⚠️
policyengine_api/services/household_service.py 66.66% 1 Missing ⚠️
policyengine_api/services/simulation_service.py 75.00% 1 Missing ⚠️
.../payload_validators/validate_set_policy_payload.py 0.00% 0 Missing and 1 partial ⚠️
policyengine_api/utils/singleton.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3317   +/-   ##
=======================================
  Coverage   72.20%   72.20%           
=======================================
  Files          56       56           
  Lines        2425     2425           
  Branches      423      423           
=======================================
  Hits         1751     1751           
  Misses        595      595           
  Partials       79       79           

☔ View full report in Codecov by Sentry.
📢 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.