Mypy fixes.
This commit is contained in:
parent
7ab59ec636
commit
b22deceb00
5 changed files with 13 additions and 12 deletions
2
main.py
2
main.py
|
|
@ -115,7 +115,7 @@ WEECHAT_SCRIPT_LICENSE = "ISC" # type: str
|
|||
|
||||
|
||||
def wrap_socket(server, file_descriptor):
|
||||
# type: (MatrixServer, int) -> socket.socket
|
||||
# type: (MatrixServer, int) -> None
|
||||
sock = None # type: socket.socket
|
||||
|
||||
temp_socket = socket.fromfd(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue