• Philip Meier's avatar
    Add static type check with mypy (#2195) · a81d99b7
    Philip Meier authored
    * add mypy config
    
    * fix syntax error
    
    * fix annotations in torchvision/utils.py
    
    * add mypy type check to CircleCI
    
    * add mypy cache to ignore files
    
    * try fix CI
    
    * ignore flake8 F821 since it interferes with mypy
    
    * add mypy type check to config generator
    
    * explicitly set config files
    a81d99b7
utils.py 5.22 KB