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
renzhc
diffusers_dcu
Commits
df2bc5ef
Unverified
Commit
df2bc5ef
authored
May 20, 2024
by
Sai-Suraj-27
Committed by
GitHub
May 20, 2024
Browse files
fix: Fixed few `docstrings` according to the Google Style Guide (#7717)
Fixed few docstrings according to the Google Style Guide.
parent
a7bf77fc
Changes
21
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils/check_table.py
utils/check_table.py
+1
-1
No files found.
utils/check_table.py
View file @
df2bc5ef
...
@@ -73,7 +73,7 @@ diffusers_module = spec.loader.load_module()
...
@@ -73,7 +73,7 @@ diffusers_module = spec.loader.load_module()
# Thanks to https://stackoverflow.com/questions/29916065/how-to-do-camelcase-split-in-python
# Thanks to https://stackoverflow.com/questions/29916065/how-to-do-camelcase-split-in-python
def
camel_case_split
(
identifier
):
def
camel_case_split
(
identifier
):
"Split a camelcased `identifier` into words."
""
"Split a camelcased `identifier` into words."
""
matches
=
re
.
finditer
(
".+?(?:(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|$)"
,
identifier
)
matches
=
re
.
finditer
(
".+?(?:(?<=[a-z])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])|$)"
,
identifier
)
return
[
m
.
group
(
0
)
for
m
in
matches
]
return
[
m
.
group
(
0
)
for
m
in
matches
]
...
...
Prev
1
2
Next
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