We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5e1cc commit e71dfe1Copy full SHA for e71dfe1
1 file changed
scripts/update_version.py
@@ -26,7 +26,7 @@ def replace_in_file(filepath, regex, sub):
26
27
about_file = os.path.join(dir_path, os.pardir, "pygeodiff", "__about__.py")
28
print("patching " + about_file)
29
-replace_in_file(about_file, "__version__\s=\s\".*", "__version__ = \"" + ver + "\"")
+replace_in_file(about_file, r'__version__\s=\s".*', r'__version__ = "' + ver + '"')
30
31
pyproject_file = os.path.join(dir_path, os.pardir, "pyproject.toml")
32
print("patching " + pyproject_file)
0 commit comments