Pyright has reportUnnecessaryTypeIgnoreComment that flags unnecessary # type: ignore comments as errors.
Add to pyrightconfig.json:
{
"reportUnnecessaryTypeIgnoreComment": "error"
}
Source: Pyright Documentation describing feature in Type Check Diagnostics Settings