You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use both MyPy and Pyright on the same project. In some rare instances, Pyright has a false positive where MyPy does not. I mark these with # type: ignore[pyright].
The problem is that when I call MyPy with warn_unused_ignores = true, I get things like:
In my ideal world, Pyright would have its own error codes, and MyPy would know to ignore those when warning about unused errors. Perhaps, to start, MyPy could ignore # type: ignore[pyright].
The text was updated successfully, but these errors were encountered:
I use both MyPy and Pyright on the same project. In some rare instances, Pyright has a false positive where MyPy does not. I mark these with
# type: ignore[pyright]
.The problem is that when I call MyPy with
warn_unused_ignores = true
, I get things like:In my ideal world, Pyright would have its own error codes, and MyPy would know to ignore those when warning about unused errors. Perhaps, to start, MyPy could ignore
# type: ignore[pyright]
.The text was updated successfully, but these errors were encountered: