Skip to content

Fix mypy errors attributed to pytorch_lightning.demos.boring_classes #14201

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

Merged
merged 27 commits into from
Aug 26, 2022
Merged

Fix mypy errors attributed to pytorch_lightning.demos.boring_classes #14201

merged 27 commits into from
Aug 26, 2022

Conversation

krishnakalyan3
Copy link
Contributor

Part of #13445

@github-actions github-actions bot added the pl Generic label for PyTorch Lightning package label Aug 15, 2022
Copy link
Member

@justusschock justusschock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @krishnakalyan3 ,

thanks for the PR!

However, just slapping Any on every single type is not what we want to achieve here. We actually want meaningful types. I corrected a whole bunch of them. Would you mind resolving the others (and add missing imports)?

Copy link
Contributor

@awaelchli awaelchli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM when Justus's comments addressed

@awaelchli awaelchli added this to the pl:1.8 milestone Aug 15, 2022
@otaj otaj mentioned this pull request Aug 15, 2022
52 tasks
@krishnakalyan3
Copy link
Contributor Author

Thanks for the feedback @justusschock.

@krishnakalyan3 krishnakalyan3 requested a review from otaj as a code owner August 19, 2022 09:07
@mergify mergify bot added has conflicts and removed ready PRs ready to be merged labels Aug 19, 2022
@mergify mergify bot added ready PRs ready to be merged and removed has conflicts ready PRs ready to be merged labels Aug 22, 2022
@otaj otaj enabled auto-merge (squash) August 22, 2022 09:16
@krishnakalyan3
Copy link
Contributor Author

Thanks, @otaj. I should have checked the asserts.

auto-merge was automatically disabled August 22, 2022 12:09

Head branch was pushed to by a user without write access

@otaj otaj enabled auto-merge (squash) August 22, 2022 13:09
@otaj otaj merged commit 6a999f1 into Lightning-AI:master Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality pl Generic label for PyTorch Lightning package ready PRs ready to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants