I have the following Python code in a PyCharm project:
class Category:
text: str
a = Category()
a.text = 1.5454654 # where is the warning?
The editor is supposed to show a warning as I'm trying to set an attribute with a wrong type. Have a look below at the settings below:
