Skip to content

fixed ruff on tests

cf82a0e
Select commit
Loading
Failed to load commit list.
Open

New corelib support #290

fixed ruff on tests
cf82a0e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Dec 15, 2025 in 1s

87.72% (-0.35%) compared to 7c7786b

View this Pull Request on Codecov

87.72% (-0.35%) compared to 7c7786b

Details

Codecov Report

❌ Patch coverage is 87.85872% with 55 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.72%. Comparing base (7c7786b) to head (cf82a0e).

Files with missing lines Patch % Lines
src/easyreflectometry/calculators/factory.py 78.04% 10 Missing and 8 partials ⚠️
src/easyreflectometry/sample/base_core.py 85.71% 9 Missing and 8 partials ⚠️
src/easyreflectometry/model/model.py 92.79% 1 Missing and 7 partials ⚠️
...eflectometry/sample/collections/base_collection.py 83.33% 3 Missing and 3 partials ⚠️
...c/easyreflectometry/calculators/calculator_base.py 94.73% 1 Missing and 3 partials ⚠️
...flectometry/sample/collections/layer_collection.py 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #290      +/-   ##
===========================================
- Coverage    88.07%   87.72%   -0.35%     
===========================================
  Files           45       45              
  Lines         2458     2828     +370     
  Branches       285      377      +92     
===========================================
+ Hits          2165     2481     +316     
- Misses         236      258      +22     
- Partials        57       89      +32     
Files with missing lines Coverage Δ
...easyreflectometry/calculators/refl1d/calculator.py 100.00% <100.00%> (ø)
.../easyreflectometry/calculators/refnx/calculator.py 100.00% <100.00%> (ø)
src/easyreflectometry/project.py 77.77% <100.00%> (+0.11%) ⬆️
...yreflectometry/sample/assemblies/gradient_layer.py 96.72% <100.00%> (+0.05%) ⬆️
...eflectometry/sample/assemblies/surfactant_layer.py 83.90% <100.00%> (+0.18%) ⬆️
src/easyreflectometry/sample/collections/sample.py 94.44% <100.00%> (+3.70%) ⬆️
.../sample/elements/layers/layer_area_per_molecule.py 94.28% <100.00%> (ø)
...etry/sample/elements/materials/material_density.py 100.00% <100.00%> (ø)
...try/sample/elements/materials/material_solvated.py 98.30% <100.00%> (-0.11%) ⬇️
...flectometry/sample/collections/layer_collection.py 90.90% <50.00%> (-9.10%) ⬇️
... and 5 more

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.