From 9d6b14c70ada472893482abb17b86ae427dd024e Mon Sep 17 00:00:00 2001 From: Michael Harbarth Date: Tue, 6 Feb 2024 11:02:20 +0100 Subject: [PATCH] fix: make pylint happy --- polarion_rest_api_client/data_models.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/polarion_rest_api_client/data_models.py b/polarion_rest_api_client/data_models.py index a468ecef..7789ea98 100644 --- a/polarion_rest_api_client/data_models.py +++ b/polarion_rest_api_client/data_models.py @@ -65,15 +65,9 @@ class WorkItem(BaseItem): title: str | None = None description_type: str | None = None description: str | None = None - additional_attributes: dict[str, t.Any] = dataclasses.field( - default_factory=dict - ) - linked_work_items: list[WorkItemLink] = dataclasses.field( - default_factory=list - ) - attachments: list[WorkItemAttachment] = dataclasses.field( - default_factory=list - ) + additional_attributes: dict[str, t.Any] = {} + linked_work_items: list[WorkItemLink] = [] + attachments: list[WorkItemAttachment] = [] linked_work_items_truncated: bool = False attachments_truncated: bool = False