mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Fix Ruff UP004 (useless-object-inheritance)
https://docs.astral.sh/ruff/rules/useless-object-inheritance/
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user