refactor: ruff autofixes

This commit is contained in:
Mark Paronyan committed 2026-09-27 15:55:10 +03:00
1 parent 2ac637c662
commit a0450b6bce
455 files changed
+12322 -14762

No files matched your search

+3 -3
View File
@@ -119,9 +119,9 @@ class AsyncioTelnetServer:
:param keepalive_interval: interval in seconds for sending NOP keep-alive (0 to disable).
"""
assert connection_factory is None or (
connection_factory is not None and reader is None and writer is None
), "Please use either reader and writer either connection_factory, otherwise duplicate data may be produced."
assert connection_factory is None or (connection_factory is not None and reader is None and writer is None), (
"Please use either reader and writer either connection_factory, otherwise duplicate data may be produced."
)
self._reader = reader
self._writer = writer