Skip to content

Commit

Permalink
ci: Please pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Dec 13, 2024
1 parent f9a300b commit d0a3155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion capella2polarion/converters/element_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ disable = [
"too-many-public-methods",
"too-many-return-statements",
"too-many-statements",
"too-many-positional-arguments",

# Auto-formatting
"bad-indentation",
Expand Down

0 comments on commit d0a3155

Please sign in to comment.