Open benjeffery opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 86.65%. Comparing base (
998d710
) to head (54dabad
).:exclamation: Current head 54dabad differs from pull request most recent head 872880c
Please upload reports for the commit 872880c to get more accurate results.
Attention: Patch coverage is 98.95833%
with 1 lines
in your changes are missing coverage. Please review.
Project coverage is 89.63%. Comparing base (
998d710
) to head (d9256d9
).
Well this was a lot noisier than I was expecting, although it did show up a couple of actual errors.
Ruff is quite opinionated about getting people to use f strings etc isn't it?
What were the errors?
LGTM though, happy to switch.
Given the noisiness we may want to try and flush a few open PRs through first.
If we don't want to enforce f-strings we can switch that off - they do generally read better though.
The errors were:
A test where a subsequent pytest.raises
was nested inside the first, such that the second didn't run.
An ibd test that was missing an assert
so the value was evaluated, but not checked.
I'm happy with whatevery you all think, but I did find two places I wished it was less opinionated (see comments).
I've been using ruff and it's much quicker than our previous linter, which makes development a little slicker and more palatable, so I would be happy with switching over.
For numpy2 checks etc.