pyright recently added # pyright: ignore[...]. We should replace all plain # type: ignores with either # type: ignore[...] or # pyright: ignore[...] if possible. There might be a few ignores we can't replace.
$ rgrep "# type: ignore" stubs/ stdlib/ | grep -v "# type: ignore\[" | grep -v @python2 | wc -l
101
pyright recently added
# pyright: ignore[...]. We should replace all plain# type: ignores with either# type: ignore[...]or# pyright: ignore[...]if possible. There might be a few ignores we can't replace.