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

-1
View File
@@ -20,7 +20,6 @@ Base interface for NIOs.
class NIO:
"""
IOU NIO.
"""
+1 -5
View File
@@ -22,7 +22,6 @@ from .nio import NIO
class NIOEthernet(NIO):
"""
Generic Ethernet NIO.
@@ -50,7 +49,4 @@ class NIOEthernet(NIO):
def asdict(self):
return {
"type": "nio_ethernet",
"ethernet_device": self._ethernet_device
}
return {"type": "nio_ethernet", "ethernet_device": self._ethernet_device}
+1 -5
View File
@@ -22,7 +22,6 @@ from .nio import NIO
class NIOTAP(NIO):
"""
TAP NIO.
@@ -50,7 +49,4 @@ class NIOTAP(NIO):
def asdict(self):
return {
"type": "nio_tap",
"tap_device": self._tap_device
}
return {"type": "nio_tap", "tap_device": self._tap_device}
+1 -2
View File
@@ -22,7 +22,6 @@ from .nio import NIO
class NIOUDP(NIO):
"""
UDP NIO.
@@ -81,5 +80,5 @@ class NIOUDP(NIO):
"rhost": self._rhost,
"suspend": self._suspended,
"filters": self._filters,
"markers": self._markers
"markers": self._markers,
}