Function parameters type hinting
Hello, I would like to enable an inspection that detects bad/wrong type hints in function parameters
def func(my_list: list["MyModel"]):
pass
the list["MyModel"] is valid with my settings, however friend of mine has it highlighted with yellow. And I would like to enable that as well. What inspection setting is it?
Please sign in to leave a comment.
Hi,
What warning do you expect to see if the statement is correct?
You can enable all sorts of inspections in inspection profile settings
However, I think we should know what warning does your friend has to know which inspection should be enabled.