-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two types of issues raised by mypy - implicit optional issues and…
… arg-type mismatch (#1234) Summary: Title. Here is the mypy run failing with 24 errors - https://github.com/pytorch/data/actions/runs/8428471909/job/23081016202. With these two changes, the mypy errors are now down to 8 - https://github.com/pytorch/data/actions/runs/8428898766/job/23082258705?pr=1234 ### Changes - Add optional where it was implicit earlier - Change ignore type to arg-type Pull Request resolved: #1234 Reviewed By: ejguan Differential Revision: D55350451 Pulled By: gokulavasan fbshipit-source-id: 54a99c8879eaf84aea0fb833cbbd9f37bc504db9
- Loading branch information
1 parent
4725a01
commit 2b831b3
Showing
3 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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