From e3c99ee78434163d2505d246b32c4705b9a664cc Mon Sep 17 00:00:00 2001 From: Stefan Tolksdorf Date: Wed, 27 Sep 2023 18:15:10 +0200 Subject: [PATCH] Fix linting --- pontos/version/commands/_java.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pontos/version/commands/_java.py b/pontos/version/commands/_java.py index e3f03e890..4eb30bbc8 100644 --- a/pontos/version/commands/_java.py +++ b/pontos/version/commands/_java.py @@ -24,10 +24,12 @@ from ..errors import VersionError from ..version import Version, VersionUpdate -VERSION_PATTERN = (r"^(?P
.*[^\d])"
-                   r"(?P\d+\.\d+\.\d+"
-                   r"(-?([ab]|rc|alpha|beta)\d+(.dev\d+)?)?)"
-                   r"(?P.*$)")
+VERSION_PATTERN = (
+    r"^(?P
.*[^\d])"
+    r"(?P\d+\.\d+\.\d+"
+    r"(-?([ab]|rc|alpha|beta)\d+(.dev\d+)?)?)"
+    r"(?P.*$)"
+)
 
 
 # This class is used for Java Version command(s)