https://github.com/taskcluster/taskgraph/pull/475 refactored our Pyright type checking excludes to be per line rather than ignoring entire files. Fixing these remaining errors is a good first issue!
First ensure you can run pyright locally:
$ pip install -r requirements/dev.txt
$ pyright
You should see no errors. Next:
Search for the string # type: ignore in the code base.
Remove it.
Run pyright and verify you see the error.
Figure out how to fix the error.
Submit a PR
Feel free to batch many fixes into one PR if you like. And no need to fix everything! This issue can be tackled a little bit at a time, possibly even by multiple contributors.
https://github.com/taskcluster/taskgraph/pull/475 refactored our Pyright type checking excludes to be per line rather than ignoring entire files. Fixing these remaining errors is a good first issue!
First ensure you can run
pyright
locally:You should see no errors. Next:
# type: ignore
in the code base.pyright
and verify you see the error.Feel free to batch many fixes into one PR if you like. And no need to fix everything! This issue can be tackled a little bit at a time, possibly even by multiple contributors.