Can you double check the type check mode? (In the settings, cursor pyright.analysis.typeCheckingMode)? If it is off, then it will hide many types of errors.
Thank you so much! It turned out the issue was with the pyright.analysis.typeCheckingMode setting. Once I set it correctly, the errors started showing up as expected. Really appreciate your help!