container-driver: ignore lint warning

This commit is contained in:
Jörg Thalheim
2024-10-22 12:48:09 +02:00
parent 0119cf8668
commit 76c83ef89a

View File

@@ -241,7 +241,7 @@ class TerminalLogger(AbstractLogger):
class XMLLogger(AbstractLogger): class XMLLogger(AbstractLogger):
def __init__(self, outfile: str) -> None: def __init__(self, outfile: str) -> None:
self.logfile_handle = codecs.open(outfile, "wb") self.logfile_handle = codecs.open(outfile, "wb") # noqa: SIM115
self.xml = XMLGenerator(self.logfile_handle, encoding="utf-8") self.xml = XMLGenerator(self.logfile_handle, encoding="utf-8")
self.queue: Queue[dict[str, str]] = Queue() self.queue: Queue[dict[str, str]] = Queue()