• Philip Meier's avatar
    Add typehints for torchvision.io (#2543) · f8bf06d5
    Philip Meier authored
    
    
    * enable typing check for torchvision.io
    
    * fix existing errors
    
    * Update torchvision/io/_video_opt.py
    Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
    
    * add ignores for FileFinder
    
    * use python 3 type hints
    
    * lint
    
    * video_opt
    
    * video
    
    * try quote av type hints
    
    * revert from .dim() to .ndim
    
    * revert changes to _video_opt.py and ignore errors
    
    * fix type hints
    
    * fix type hints for read_video_timestamps
    
    * change offset int to float
    
    * remove unused import
    Co-authored-by: default avatarFrancisco Massa <fvsmassa@gmail.com>
    f8bf06d5
mypy.ini 713 Bytes