Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: add type annotation to platform.configure #65309

Conversation

yedpodtrzitko
Copy link
Contributor

In #65024 I added a type annotation to configure() in platform/macos/ as a check for the changes made there, but the sentiment was that it should be a consistent thing across all platforms rather than a complementary change in the affected file.

I reverted the annotations in #65024, just to keep there only the changes relevant for the fix itself, and separated the type annotations for all platform directories into this PR, with all changes required to make mypy pass without errors.

However without #64784 merged this is just a fix for current moment, and wont prevent any potential breaking without the automatic check running in CI.

@yedpodtrzitko yedpodtrzitko requested review from a team as code owners September 4, 2022 03:20
@Calinou Calinou added this to the 4.0 milestone Sep 4, 2022
@yedpodtrzitko
Copy link
Contributor Author

squashed into #64784

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants