From d0a31553a8ab8039abd5b3759099d88f30f91dfd Mon Sep 17 00:00:00 2001 From: ewuerger Date: Fri, 13 Dec 2024 12:27:26 +0100 Subject: [PATCH] ci: Please pylint --- capella2polarion/converters/element_converter.py | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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",