Closed janosh closed 10 months ago
I don't think we should ignore PT011: pytest-raises-too-broad long-term. Better to add match="expected error message" to all pytest.raises(). But there were 45 violations so I didn't fix all of them.
PT011: pytest-raises-too-broad
match="expected error message"
pytest.raises()
Merging #464 (a34e772) into main (abca261) will decrease coverage by 0.01%. The diff coverage is 100.00%.
0.01%
100.00%
I don't think we should ignore
PT011: pytest-raises-too-broad
long-term. Better to addmatch="expected error message"
to allpytest.raises()
. But there were 45 violations so I didn't fix all of them.