How to disable Cursor’s automatic type annotations for Python

When I use mmcv in Python, I need to define neural networks using some special classes. However, Cursor keeps automatically adding type annotations (which I don’t need, and they actually hurt readability). Like this:

Is there a way to disable this feature, or do I have to roll back to a previous version?

Hi @fishfuck, could you trying changing the setting cursorpyright.analysis.inlayHints.genericTypes to false?

1 Like

thank u! it’s work