Fix Ruff UP004 (useless-object-inheritance)

https://docs.astral.sh/ruff/rules/useless-object-inheritance/
This commit is contained in:
Andrej
2025-05-28 14:25:56 +05:00
parent 6dbf86382f
commit 302423bfdb
2 changed files with 2 additions and 2 deletions
@@ -139,7 +139,7 @@ def check_if_element_exists_by_types_with_attribute_name(ifc_types, attribute_na
assert not errors, "Errors occured:\n{}".format("\n".join(errors))
class TableModel(object):
class TableModel:
"""This class represents a table of data."""
def __init__(self):
+1 -1
View File
@@ -293,7 +293,7 @@ class IFC_PT_write_file_panel(bpy.types.Panel):
CLASSES = [IFC_Sv_UpdateCurrent, IFC_Sv_write_file, IFC_PT_write_file_panel]
class SvExCategoryProvider(object):
class SvExCategoryProvider:
def __init__(self, identifier, menu):
self.identifier = identifier
self.menu = menu