setuptools
setuptools copied to clipboard
`pkg_resources` type the declared global variables
Summary of changes
Moved declarations of @_call_aside defined globals closer to where they're defined. And after ResourceManager & WorkingSet to avoid forward reference issues
Extracted from #4242 Works towards #2345 , resolves a few reportOptionalCall issues that #4192 would raise
Pull Request Checklist
- [x] Changes have tests (existing runtime tests should pass, unblocks more type-checking PRs)
- [x] News fragment added in
newsfragments/. (See documentation for details)