-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix mypy errors attributed to pytorch_lightning.core.datamodule
#13693
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
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
43c2ad2
remove module from pyproject.toml for ci code-checks
jxtngx 9686043
update
jxtngx bd6fb0f
update return type
jxtngx 5db82b4
update for LightningDataModule codeq
jxtngx cba2910
Merge branch 'Lightning-AI:master' into codeq/datamodule
jxtngx de0f36e
Merge branch 'master' into codeq/datamodule
jxtngx 16a279f
Merge branch 'master' into codeq/datamodule
jxtngx 90aa6c9
Merge branch 'master' into codeq/datamodule
jxtngx cbae81b
Merge branch 'master' into codeq/datamodule
jxtngx 089981a
update
jxtngx 6087294
Merge branch 'master' into codeq/datamodule
jxtngx 049d1c1
update
jxtngx 2f6e162
update
jxtngx ec292c3
Merge branch 'master' into codeq/datamodule
jxtngx b189f22
Merge branch 'master' into codeq/datamodule
jxtngx 2d8adcc
Merge branch 'master' into codeq/datamodule
jxtngx 517576d
update
jxtngx ae32bc1
Merge branch 'master' into codeq/datamodule
jxtngx 020872d
commit suggestion
jxtngx 850263e
update
jxtngx c9edb9d
Merge branch 'master' into codeq/datamodule
jxtngx 6a45961
Merge branch 'master' into codeq/datamodule
jxtngx f3775d8
Merge branch 'master' into codeq/datamodule
jxtngx eb8ecb9
resolve merge conflicts
jxtngx 3ae9e36
update
jxtngx 6e2062e
Merge branch 'master' into codeq/datamodule
jxtngx 92197a0
Merge branch 'master' into codeq/datamodule
jxtngx 2585d0a
self review
rohitgr7 ab2cf24
fix
rohitgr7 8af819b
Merge branch 'master' into codeq/datamodule
jxtngx cc55ab9
update
jxtngx a08f574
Merge branch 'master' into codeq/datamodule
jxtngx 7d56668
Merge branch 'master' into codeq/datamodule
carmocca 28fae30
fix introduced mypy error
e0d25ec
fix docstring
402d025
Merge branch 'master' into codeq/datamodule
otaj e7cef8a
Merge branch 'master' into codeq/datamodule
otaj d53275b
Merge branch 'master' into codeq/datamodule
otaj 5e5629c
Merge branch 'master' into codeq/datamodule
rohitgr7 4053b7e
Merge branch 'master' into codeq/datamodule
otaj 3ee9dde
merge master
16528aa
merge master
cc11363
Merge branch 'master' into codeq/datamodule
Borda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@carmocca mypy raises a union-attr error, as it is necessary in
utilities.argparse.add_argparse_args
; however,get_deprecated_arg_names
isn't a function inutilities.argparse
, it is a class method of Trainer.I think the more correct thing to do, is to move the implementation of
get_deprecated_arg_names
toutilities.argparse
, and then updatecore.datamodule
andtrainer.trainer
accordingly ... do you agree?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. But let's do that in a PR before this one or a PR after.