ruff
33529c04 - Allow `NoReturn`-like functions for `__str__`, `__len__`, etc. (#11017)

Commit
1 year ago
Allow `NoReturn`-like functions for `__str__`, `__len__`, etc. (#11017) ## Summary If the method always raises, we shouldn't raise a diagnostic for "returning a value of the wrong type". Closes https://github.com/astral-sh/ruff/issues/11016.
Author
Parents
Loading