Skip to content

Switch back to try-except-pass instead of contextlib.suppress

Codecov / codecov/project succeeded Nov 13, 2024 in 1s

91.20% (target 90.00%)

View this Pull Request on Codecov

91.20% (target 90.00%)

Details

Codecov Report

Attention: Patch coverage is 84.84848% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/optimagic/optimization/algorithm.py 80.00% 4 Missing ⚠️
src/optimagic/optimizers/pygmo_optimizers.py 33.33% 2 Missing ⚠️
src/optimagic/optimizers/tao_optimizers.py 33.33% 2 Missing ⚠️
src/optimagic/visualization/history_plots.py 92.30% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/estimagic/__init__.py 96.61% <100.00%> (-0.06%) ⬇️
src/optimagic/__init__.py 100.00% <100.00%> (ø)
src/optimagic/algorithms.py 85.68% <100.00%> (+0.10%) ⬆️
src/optimagic/optimizers/pygmo_optimizers.py 94.48% <33.33%> (-0.49%) ⬇️
src/optimagic/optimizers/tao_optimizers.py 74.28% <33.33%> (-1.68%) ⬇️
src/optimagic/visualization/history_plots.py 89.40% <92.30%> (-0.53%) ⬇️
src/optimagic/optimization/algorithm.py 94.79% <80.00%> (-1.77%) ⬇️