add SIM lint

This commit is contained in:
Jörg Thalheim
2024-09-02 16:29:50 +02:00
parent 38406bbe53
commit 357b619068
25 changed files with 59 additions and 85 deletions

View File

@@ -279,7 +279,7 @@ class VMObject(GObject.Object):
if not self._log_file:
try:
self._log_file = open(proc.out_file)
self._log_file = open(proc.out_file) # noqa: SIM115
except Exception as ex:
log.exception(ex)
self._log_file = None