From 1f08ba38897997f8c29699f75f53a5cd81a3bafb Mon Sep 17 00:00:00 2001 From: Stefan Tolksdorf Date: Wed, 27 Sep 2023 18:10:00 +0200 Subject: [PATCH] Fix linting --- pontos/version/commands/_java.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pontos/version/commands/_java.py b/pontos/version/commands/_java.py index 89ed85940..a727cef2c 100644 --- a/pontos/version/commands/_java.py +++ b/pontos/version/commands/_java.py @@ -93,7 +93,7 @@ def _update_version_files(self, new_version) -> List[Path]: f"content:'{version_line}'" ) lines[line_number - 1] = ( - matches.group("pre") + matches.group("pre") + str(new_version) + matches.group("post") ) @@ -165,4 +165,3 @@ def _verify_version(self, file_versions: Dict) -> str: f"version:'{version}'" ) return last_version -