Completely synchronize behavior of Facebook flake8 and public flake8. (#18538)
authorEdward Yang <ezyang@fb.com>
Thu, 28 Mar 2019 02:46:23 +0000 (19:46 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 28 Mar 2019 02:51:21 +0000 (19:51 -0700)
commit54abfda12434692ea5902ce5f94062fdac7fde61
tree4970f0b950adc3f500c99127fc1492e425b9460c
parent8faf0112f307cdfd99a4260248148706c5cd44e4
Completely synchronize behavior of Facebook flake8 and public flake8. (#18538)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18538
ghimport-source-id: 665b09f158d1c5dd94686d4212792504b55b7f73

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18538 Completely synchronize behavior of Facebook flake8 and public flake8.**

Previously, developers at Facebook had the very funny experience
wherein /usr/local/bin/flake8 behaved differently than a freshly
installed flake8 from pip.  In this commit, I add enough ignores to
.flake8 and install enough plugins to make the Facebook flake8
and public flake8 line up exactly.  These means you don't have
to care which flake8 you use; they all will report accurate information
on your Python files.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Differential Revision: D14652336

fbshipit-source-id: ba7776eaa139cf2e3df2e65349da6fd7c99acca4
.flake8
.travis.yml