Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding types to some of datamodules (#462)
* Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Remove more torchvision.transforms typing * Removing return typing * Add `None` for optional arguments * Remove unnecessary import * Remove unnecessary import * Add `None` return type * Add type for torchvision transforms * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Remove more torchvision.transforms typing * Removing return typing * Add `None` for optional arguments * Remove unnecessary import * Add `None` return type * Add type for torchvision transforms * enable check * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Remove more torchvision.transforms typing * Removing return typing * Add `None` for optional arguments * Remove unnecessary import * Add `None` return type * Add type for torchvision transforms * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Removing return typing * Add `None` return type * enable check * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Remove more torchvision.transforms typing * Removing return typing * Add `None` for optional arguments * Remove unnecessary import * Add `None` return type * Add type for torchvision transforms * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Removing return typing * Add `None` return type * enable check * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Removing return typing * Add `None` return type * Adding types to datamodules * Fixing typing imports * Removing torchvision.transforms from return typing * Removing return typing * Add `None` return type * Fix rebasing mistakes * Fix flake8 * Fix yapf format * Add types and skip mypy checks on some files * Fix setup.cfg * Add missing import * isort * yapf * mypy please... * Please be quiet mypy and flake8 * yapf... * Disable all of yapf, flake8, and mypy * Use Callable * Use Callable * Add missing import Co-authored-by: Jirka Borovec <jirka.borovec@seznam.cz> Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com> Co-authored-by: Akihiro Nitta <nitta@akihironitta.com>
- Loading branch information