Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanTolksdorf committed Sep 27, 2023
1 parent b09d9ca commit 1f08ba3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pontos/version/commands/_java.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _update_version_files(self, new_version) -> List[Path]:
f"content:'{version_line}'"
)
lines[line_number - 1] = (

Check warning on line 95 in pontos/version/commands/_java.py

View check run for this annotation

Codecov / codecov/patch

pontos/version/commands/_java.py#L95

Added line #L95 was not covered by tests
matches.group("pre")
matches.group("pre")
+ str(new_version)
+ matches.group("post")
)
Expand Down Expand Up @@ -165,4 +165,3 @@ def _verify_version(self, file_versions: Dict) -> str:
f"version:'{version}'"
)
return last_version

Check warning on line 167 in pontos/version/commands/_java.py

View check run for this annotation

Codecov / codecov/patch

pontos/version/commands/_java.py#L167

Added line #L167 was not covered by tests

0 comments on commit 1f08ba3

Please sign in to comment.