Open yyang-nasuni opened 4 years ago
I don't think darglint ever handled them explicitly -- it was kind of an accidental catch. I think this should be pretty easy to handle, though, so we should cover it. Thanks for pointing it out!
Fixed in 62802244d2d390fec9099b822639761c2efe6b60. Should be present in 1.5.5, when that's released.
@terrencepreilly I believe this issue can be closed since you released 1.5.5 in the mean time :).
Here is the sample code and
darglint==1.2.0
can detect missing raises doc strings for both errors inelse
andfinally
blocks. After upgrading to latestdarglint==1.5.4
, these missing exception doc errors are not reported.Is this expected in newer version to skip checking
raise
in suchelse
andfinally
blocks? Thank you.