diff options
author | Elias Ellison <eellison@fb.com> | 2019-03-07 09:12:35 -0800 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-03-07 09:15:54 -0800 |
commit | 561037aef8134d81479fac6cdbd196d3652fd8e7 (patch) | |
tree | 870c2dcb769d03b97a2a1dbf11d378e92dfad105 /.travis.yml | |
parent | 1d522598fb97e26f9e518116a9c7fa0f22735d8d (diff) | |
download | pytorch-561037aef8134d81479fac6cdbd196d3652fd8e7.tar.gz pytorch-561037aef8134d81479fac6cdbd196d3652fd8e7.tar.bz2 pytorch-561037aef8134d81479fac6cdbd196d3652fd8e7.zip |
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
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 8d1da417ce..6aa70770fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ matrix: python: "3.7" dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069) sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069) - install: pip install flake8 + install: pip install flake8-mypy script: flake8 - name: "MyPy typecheck" python: "3.6" |