-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix typing for Logger files #11370
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
Comments
Could I take this? |
Yup go for it! Just assigned it to you :) |
@learn2phoenix are you still planning to work on this issue? |
@daniellepintz Sorry, have been ultra busy. I will push the PR this weekend. |
No worries! Just checking in. If you do, please do one PR per file :) |
@daniellepintz Working on this today, so our expectation should be no errors from |
some of these files have name conflicts with library names or other modules. Would changing the names of these |
Yes the expectation is no errors from mypy on these files. Which files have name conflicts? These conflicts show up on mypy? |
yes, they do show up like the following: Also, |
I see! @awaelchli wdyt? |
This was completed as part of #13445 |
Uh oh!
There was an error while loading. Please reload this page.
Proposed refactor
Fix typing for these files:
https://github.com/PyTorchLightning/pytorch-lightning/blob/7eab379da2fdca542849ed4ad313d0851c2271e3/pyproject.toml#L61-L68
Motivation
As part of #7037 we want to add typing to the entire Lightning codebase.
Additional Context
Make sure you do one PR per file.
Start by removing the file from
pyproject.toml
. To test mypy locally make sure you have it installed and then simply runmypy
.cc @Borda @justusschock @awaelchli @akihironitta @rohitgr7 @edward-io @ananthsub @kamil-kaczmarek @Raalsky @Blaizzy
The text was updated successfully, but these errors were encountered: