iza-institute-of-labor-economics / gettsim

The GErman Taxes and Transfers SIMulator
https://gettsim.readthedocs.io/
GNU Affero General Public License v3.0
54 stars 32 forks source link

Use max() instead of explicit if #687

Closed schra closed 7 months ago

schra commented 7 months ago

max() and min() are frequently used in the code base, so it would be more uniform to do the same here.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6b4c815) 91.55% compared to head (9b9d4b0) 91.54%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #687 +/- ## ========================================== - Coverage 91.55% 91.54% -0.01% ========================================== Files 51 51 Lines 3445 3443 -2 ========================================== - Hits 3154 3152 -2 Misses 291 291 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.