Leaklens

astropy__astropy-7336

units.quantity_input decorator fails for constructors with type hinted return value -> None

Verdict: disputed: one of the two checks found quoted evidence (not counted as a flag).

Maybe the decorator could explicitly check whether None is returned and then omit the unit check.

Disputed: one of the two checks found a pointer to the fix, the other found nothing. Not counted as a flag; the quote is on the task page.

All SWE-bench Verified tasks · more astropy/astropy tasks · How the check works