pytorch/docs/cpp/source
Edward Yang 81e030d9a6 Upgrade flake8-bugbear to master, fix the new lints. (#18507)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18507
ghimport-source-id: 1c3642befad2da78a7e5f39d6d58732b85c76267

Stack from [ghstack](https://github.com/ezyang/ghstack):
* **#18507 Upgrade flake8-bugbear to master, fix the new lints.**

It turns out Facebobok is internally using the unreleased master
flake8-bugbear, so upgrading it grabs a few more lints that Phabricator
was complaining about but we didn't get in open source.

A few of the getattr sites that I fixed look very suspicious (they're
written as if Python were a lazy language), but I didn't look more
closely into the matter.

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

Differential Revision: D14633682

fbshipit-source-id: fc3f97c87dca40bbda943a1d1061953490dbacf8
2019-03-27 08:07:41 -07:00
..
notes Change deprecated IntList to IntArrayRef 2019-03-25 19:47:21 -07:00
check-doxygen.sh Add variable_factories.h to cppdocs (#14381) 2018-11-27 10:13:23 -08:00
conf.py Upgrade flake8-bugbear to master, fix the new lints. (#18507) 2019-03-27 08:07:41 -07:00
contributing.rst fix sigma in the middle of when word (#16227) 2019-01-23 08:35:32 -08:00
Doxyfile Directly include headers from ATen. 2019-01-24 11:22:27 -08:00
frontend.rst Fix C++ Frontend example in frontend.html (#15717) 2019-01-07 11:39:47 -08:00
index.rst Use at::zeros instead of torch::zeros in non-differentiable example (#15527) 2018-12-25 21:50:17 -08:00
installing.rst add debug/release tip to cpp docs (#17452) 2019-02-24 23:08:15 -08:00