use flake8-mypy (#17721)
authorElias Ellison <eellison@fb.com>
Thu, 7 Mar 2019 17:12:35 +0000 (09:12 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 7 Mar 2019 17:15:54 +0000 (09:15 -0800)
commit561037aef8134d81479fac6cdbd196d3652fd8e7
tree870c2dcb769d03b97a2a1dbf11d378e92dfad105
parent1d522598fb97e26f9e518116a9c7fa0f22735d8d
use flake8-mypy (#17721)

Summary:
Use flake8 installed with mypy checks so that our linter matches fbcode. Mypy type errors also provide valuable signal
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17721

Differential Revision: D14357778

Pulled By: eellison

fbshipit-source-id: d8c9ea3fe3b5f550c3b70fe259e0eabf95e4c92d
.flake8
.travis.aten.yml
.travis.yml
test/test_jit.py
torch/_jit_internal.py
torch/jit/quantized.py