79504462

Date: 2025-03-12 17:50:10
Score: 1
Natty:
Report link

​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​​

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: EuanG