Fix Ruff UP008 (super-call-with-parameters)

https://docs.astral.sh/ruff/rules/super-call-with-parameters/
This commit is contained in:
Andrej
2025-05-28 16:57:48 +05:00
parent 5ab14f1e4e
commit feebc701fa
5 changed files with 7 additions and 7 deletions
@@ -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