You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removing # type: ignore from @foo.setter causes mypy to throw error: Decorated property not supported, just as in Decorated property not supported #1362
Expected Behaviour
gettersandsettersActual Behaviour & Repro Case
Python Code
Mypy CLI
Result
Notes
mypy/mypy/messages.py
Lines 74 to 75 in a1ace48
mypy/mypy/checker.py
Lines 329 to 330 in 936ceac
# type: ignorefrom@foo.settercausesmypyto throwerror: Decorated property not supported, just as in Decorated property not supported #1362Related Issues
Current Solution
@property # type: ignore