False positive for `# pyright: reportSomeError=...`
AdityaGudimella opened this issue · comments
Aditya Gudimella commented
PyRight is a static type checker similar to mypy
and pyre
from Microsoft.
Errors in PyRight can be ignored on a per-line basis, similar to mypy, using the comment style
# pyright: reportErrorName=[false|true]
.
either at the end of the line causing the error or on the line above it.
These are falsely being flagged as commented out code by eradicate. It would be nice if this can be fixed.
I'd be happy to put up a PR for this with some guidance.