Solved by albanD in post #2 
              
              
                Hi, 
You can check our own mypy ini file here: https://github.com/pytorch/pytorch/blob/master/mypy.ini 
It is updated every time we add typing to new part of our code base.