Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
5ad5cc71
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "67a3920d857de520d7354a4d7049ab6f91957340"
Unverified
Commit
5ad5cc71
authored
May 20, 2021
by
Sylvain Gugger
Committed by
GitHub
May 20, 2021
Browse files
Fix pattern in conf.py (#11784)
parent
206f06f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils/release.py
utils/release.py
+1
-1
No files found.
utils/release.py
View file @
5ad5cc71
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment