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
f81b6c95
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "f202a956612deeedcd44379e53e9d1b2038e8140"
Commit
f81b6c95
authored
Jan 15, 2020
by
Lysandre
Committed by
Lysandre Debut
Jan 23, 2020
Browse files
Flake8 violation
parent
632675ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_examples.py
tests/test_examples.py
+1
-1
No files found.
tests/test_examples.py
View file @
f81b6c95
...
...
@@ -41,7 +41,7 @@ def get_examples_from_file(file):
example
=
[]
else
:
# If line is not empty, add it to the current example
if
line
is
not
"
\n
"
:
if
line
!=
"
\n
"
:
example
.
append
(
line
[
example_indentation
+
4
:
-
1
])
# Detect the example from '::' or 'example::'
...
...
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