mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Fix Ruff UP008 (super-call-with-parameters)
https://docs.astral.sh/ruff/rules/super-call-with-parameters/
This commit is contained in:
@@ -75,7 +75,7 @@ attribute_types = Union[simple_type, named_type, enumeration_type, select_type,
|
||||
|
||||
class ValidationError(Exception):
|
||||
def __init__(self, message, attribute=None):
|
||||
super(ValidationError, self).__init__(message)
|
||||
super().__init__(message)
|
||||
self.attribute = attribute
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user