]> git.ipfire.org Git - thirdparty/tornado.git/commit
mypy: Enable no_implicit_optional
authorRobin Roth <robin@rroth.de>
Mon, 17 Jun 2019 00:21:13 +0000 (02:21 +0200)
committerBen Darnell <ben@bendarnell.com>
Mon, 17 Jun 2019 00:21:13 +0000 (20:21 -0400)
commitc50aed0f96d92f9b0ef4cd0837c0104f140ca77e
tree49053e58cc602eed4d4385a5046f613d4221325d
parent87b5a4aeec48720dc8d58ab4f3aac62c819d9403
mypy: Enable no_implicit_optional

"Implicit-optional" mode is on by default, but that default is intended to change in the indefinite future (python/peps#689, python/typing#275). Go ahead and change to the future explicit use of Optional.
27 files changed:
docs/httpserver.rst
docs/web.rst
setup.cfg
tornado/auth.py
tornado/curl_httpclient.py
tornado/http1connection.py
tornado/httpclient.py
tornado/httpserver.py
tornado/httputil.py
tornado/ioloop.py
tornado/iostream.py
tornado/locale.py
tornado/locks.py
tornado/log.py
tornado/netutil.py
tornado/options.py
tornado/process.py
tornado/queues.py
tornado/routing.py
tornado/simple_httpclient.py
tornado/tcpclient.py
tornado/tcpserver.py
tornado/template.py
tornado/testing.py
tornado/util.py
tornado/web.py
tornado/websocket.py