Skip to content

Commit

Permalink
placate ruff regarding re.match
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener authored and inducer committed Nov 22, 2024
1 parent 5cc33f2 commit 4685e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytools/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@


VERSION_TEXT = metadata.version("pytools")
_match = re.match("^([0-9.]+)([a-z0-9]*?)$", VERSION_TEXT)
_match = re.match(r"^([0-9.]+)([a-z0-9]*?)$", VERSION_TEXT)
assert _match is not None
VERSION_STATUS = _match.group(2)
VERSION = tuple(int(nr) for nr in _match.group(1).split("."))

0 comments on commit 4685e66

Please sign in to comment.