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 6f58665 commit e3c99ee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pontos/version/commands/_java.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
from ..errors import VersionError
from ..version import Version, VersionUpdate

VERSION_PATTERN = (r"^(?P<pre>.*[^\d])"
r"(?P<version>\d+\.\d+\.\d+"
r"(-?([ab]|rc|alpha|beta)\d+(.dev\d+)?)?)"
r"(?P<post>.*$)")
VERSION_PATTERN = (
r"^(?P<pre>.*[^\d])"
r"(?P<version>\d+\.\d+\.\d+"
r"(-?([ab]|rc|alpha|beta)\d+(.dev\d+)?)?)"
r"(?P<post>.*$)"
)


# This class is used for Java Version command(s)
Expand Down

0 comments on commit e3c99ee

Please sign in to comment.