"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "67a3920d857de520d7354a4d7049ab6f91957340"
Unverified Commit 5ad5cc71 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Fix pattern in conf.py (#11784)

parent 206f06f2
...@@ -26,7 +26,7 @@ REPLACE_PATTERNS = { ...@@ -26,7 +26,7 @@ REPLACE_PATTERNS = {
"examples": (re.compile(r'^check_min_version\("[^"]+"\)\s*$', re.MULTILINE), 'check_min_version("VERSION")\n'), "examples": (re.compile(r'^check_min_version\("[^"]+"\)\s*$', re.MULTILINE), 'check_min_version("VERSION")\n'),
"init": (re.compile(r'^__version__\s+=\s+"([^"]+)"\s*$', re.MULTILINE), '__version__ = "VERSION"\n'), "init": (re.compile(r'^__version__\s+=\s+"([^"]+)"\s*$', re.MULTILINE), '__version__ = "VERSION"\n'),
"setup": (re.compile(r'^(\s*)version\s*=\s*"[^"]+",', re.MULTILINE), r'\1version="VERSION",'), "setup": (re.compile(r'^(\s*)version\s*=\s*"[^"]+",', re.MULTILINE), r'\1version="VERSION",'),
"doc": (re.compile(r"^(\s*)release\s*=\s*u'[^']+'$", re.MULTILINE), "release = u'VERSION'\n"), "doc": (re.compile(r'^(\s*)release\s*=\s*"[^"]+"$', re.MULTILINE), "release = u'VERSION'\n"),
} }
REPLACE_FILES = { REPLACE_FILES = {
"init": "src/transformers/__init__.py", "init": "src/transformers/__init__.py",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment