Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nhairs committed Nov 22, 2024
1 parent 6a6414b commit 79b1429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nserver/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def stop_server(self) -> None:
def __repr__(self):
return f"{self.__class__.__name__}(address={self.address!r}, port={self.port!r})"

def _get_next_connection(self) -> Tuple[socket.socket, Tuple[str, int]]:
def _get_next_connection(self) -> tuple[socket.socket, tuple[str, int]]:
"""Get the next connection that is ready to receive data on.
Blocks until a good connection is found
Expand Down

0 comments on commit 79b1429

Please sign in to comment.