Skip to content
This repository was archived by the owner on Jun 2, 2022. It is now read-only.

Commit 81d8650

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bc2cca8 commit 81d8650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

semver/patterns.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
r"([+-]?([0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*))?"
88
)
99

10-
_COMPLETE_VERSION = r"v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.(\d+))?{}(?:\+[^\s]+)?".format(
11-
MODIFIERS
10+
_COMPLETE_VERSION = (
11+
r"v?(\d+)(?:\.(\d+))?(?:\.(\d+))?(?:\.(\d+))?{}(?:\+[^\s]+)?".format(MODIFIERS)
1212
)
1313

1414
COMPLETE_VERSION = re.compile("(?i)" + _COMPLETE_VERSION)

0 commit comments

Comments
 (0)