Commit 0834efd6 authored by vruge's avatar vruge Committed by oroulet

test, enable check override

parent d9aa08e1
......@@ -41,11 +41,11 @@ class UASocketProtocol(asyncio.Protocol):
# passing back the processed response to the request so that it can return it.
self._open_secure_channel_exchange = None
def connection_made(self, transport: asyncio.Transport):
def connection_made(self, transport: asyncio.Transport): # type: ignore
self.state = self.OPEN
self.transport = transport
def connection_lost(self, exc: Exception):
def connection_lost(self, exc: Optional[Exception]):
self.logger.info("Socket has closed connection")
self.state = self.CLOSED
self.transport = None
......
......@@ -7,4 +7,4 @@ per-file-ignores =
[pycodestyle]
max-line-length = 160
[mypy]
disable_error_code = misc, arg-type, attr-defined, assignment, union-attr, var-annotated, override
disable_error_code = misc, arg-type, attr-defined, assignment, union-attr, var-annotated
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment