Skip to content

Commit

Permalink
noqa rules them all
Browse files Browse the repository at this point in the history
  • Loading branch information
brainelectronics committed Oct 4, 2024
1 parent 06f6040 commit 8744913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/changelog2version/extract_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,6 @@ def parse_meta_comment(self) -> None:
match = re.search(r"(<!--\smeta\s=\s)(.*?)(\s-->)", line)

if match and len(match.groups()) == 3:
self._meta_data = json.loads(match.groups()[1].replace("'", "\""))
self._meta_data = json.loads(match.groups()[1].replace("'", "\"")) # noqa: E501
self._logger.debug("Meta Data: '{}'".format(self._meta_data))
break

0 comments on commit 8744913

Please sign in to comment.