Python ruff fixes

* Python: Clean up imports.
* Python: Clean up error handling example.
* Python: Remove unused local variables
* Python: Avoid comparing against True/False.
* Python: Remove unused name variable.
* Python: Reuse class definition type variable.
* Python: Fix more unused imports
* Black fixes
This commit is contained in:
Kristian Bendiksen authored and GitHub committed 2025-05-16 15:46:45 +02:00
1 parent dc4cd33c6e
commit 7899736f05
41 files changed
+64 -106

No files matched your search

+1 -2
View File
@@ -4,8 +4,7 @@ ResInsight Well Log Plot plot module
import Commands_pb2
from .plot import Plot
from .pdmobject import PdmObjectBase, add_method
from .pdmobject import add_method
from .resinsight_classes import WellLogPlot
from typing import List