Skip to content

Commit

Permalink
setup.py: fix SyntaxWarning: invalid escape sequence
Browse files Browse the repository at this point in the history
Fixes #3370
  • Loading branch information
anthrotype committed Dec 6, 2023
1 parent 77e2b2d commit 203346a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class release(Command):
]

changelog_name = "NEWS.rst"
version_RE = re.compile("^[0-9]+\.[0-9]+")
version_RE = re.compile(r"^[0-9]+\.[0-9]+")
date_fmt = "%Y-%m-%d"
header_fmt = "%s (released %s)"
commit_message = "Release {new_version}"
Expand Down

0 comments on commit 203346a

Please sign in to comment.