flake8 updates and cleanups (#3940)

* flake8 updates and cleanups

* Update to flake8 3.7.9.
* Update to flake8-bugbear 20.1.4.
* Only ignore errors in stub files.
* Remove obsolete error counts.
* Sort error codes alphabetically.
* Don't ignore the following errors (unneeded):
    * E704 Multiple statements on one line (def)
    * W504 Line break occurred after a binary operator
    * B303 __metaclass__ used

* Remove obsolete comment

* Ignore F822 undefined name in __all__
This commit is contained in:
Sebastian Rittau
2020-04-24 04:38:47 +02:00
committed by GitHub
parent aa84ff750e
commit 92f52a2615
3 changed files with 18 additions and 16 deletions

View File

@@ -1,8 +1,8 @@
git+https://github.com/python/mypy.git@master
typed-ast>=1.0.4
black==19.3b0
flake8==3.7.8
flake8-bugbear==19.8.0
flake8==3.7.9
flake8-bugbear==20.1.4
flake8-pyi==19.3.0
isort==4.3.21
pytype>=2020.01.08