diff --git a/capella2polarion/converters/element_converter.py b/capella2polarion/converters/element_converter.py index 90eeb92..1e09f11 100644 --- a/capella2polarion/converters/element_converter.py +++ b/capella2polarion/converters/element_converter.py @@ -74,7 +74,7 @@ def _resolve_capella_attribute( if isinstance(value, enum.Enum): return polarion_api.TextContent(type="string", value=value.name) - raise ValueError("Unsupported attribute type: %r", value) + raise ValueError(f"Unsupported attribute type: {value!r}") class CapellaWorkItemSerializer(polarion_html_helper.JinjaRendererMixin): diff --git a/pyproject.toml b/pyproject.toml index 14f5b64..dfe0262 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -129,6 +129,7 @@ disable = [ "too-many-public-methods", "too-many-return-statements", "too-many-statements", + "too-many-positional-arguments", # Auto-formatting "bad-indentation",