pywin32
pywin32 copied to clipboard
pyright: turn on `reportAssignmentType` + `reportIndexIssue`
- Some fixes are needed on typeshed's side before this PR is ready https://github.com/python/typeshed/pull/11616
- Pinned pyright to ensure the CI won't start failing suddenly if next release finds new issues
- Solved a handful of type issues to work towards
reportCallIssue(#1902 needs to be solved first before enabling that one) - Updated some comments