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): ...@@ -41,11 +41,11 @@ class UASocketProtocol(asyncio.Protocol):
# passing back the processed response to the request so that it can return it. # passing back the processed response to the request so that it can return it.
self._open_secure_channel_exchange = None 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.state = self.OPEN
self.transport = transport self.transport = transport
def connection_lost(self, exc: Exception): def connection_lost(self, exc: Optional[Exception]):
self.logger.info("Socket has closed connection") self.logger.info("Socket has closed connection")
self.state = self.CLOSED self.state = self.CLOSED
self.transport = None self.transport = None
......
...@@ -7,4 +7,4 @@ per-file-ignores = ...@@ -7,4 +7,4 @@ per-file-ignores =
[pycodestyle] [pycodestyle]
max-line-length = 160 max-line-length = 160
[mypy] [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