run black over stubs, add checking to travis

This commit is contained in:
Maxim Kurnikov
2018-12-03 18:52:44 +03:00
parent d5bc7d4ab2
commit cf6119bf9b
420 changed files with 2295 additions and 8384 deletions

View File

@@ -5,18 +5,11 @@ from wsgiref import simple_server
from django.core.handlers.wsgi import WSGIRequest
class WSGIServer(simple_server.WSGIServer):
request_queue_size: int = ...
address_family: Any = ...
allow_reuse_address: Any = ...
def __init__(
self,
*args: Any,
ipv6: bool = ...,
allow_reuse_address: bool = ...,
**kwargs: Any
) -> None: ...
def __init__(self, *args: Any, ipv6: bool = ..., allow_reuse_address: bool = ..., **kwargs: Any) -> None: ...
def handle_error(self, request: Any, client_address: Any) -> None: ...
class ThreadedWSGIServer(socketserver.ThreadingMixIn, WSGIServer): ...