Skip to content

Commit

Permalink
fix: minor change for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
micha91 committed Feb 5, 2024
1 parent 4cc2f47 commit 34c6ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions capella2polarion/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def calculate_checksum(self) -> str:
data = dict(sorted(data.items()))

converted = json.dumps(data).encode("utf8")
# pylint: disable-next=attribute-defined-outside-init
self._checksum = json.dumps(
{"__C2P__WORK_ITEM": hashlib.sha256(converted).hexdigest()}
| dict(sorted(attachment_checksums.items()))
Expand Down

0 comments on commit 34c6ba9

Please sign in to comment.