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
gaoqiong
lm-evaluation-harness
Commits
1e2fbe6b
Commit
1e2fbe6b
authored
Jul 18, 2023
by
haileyschoelkopf
Browse files
attempt to fix multiple tasks modified case
parent
020ff063
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/extra/test_utils.py
tests/extra/test_utils.py
+1
-1
No files found.
tests/extra/test_utils.py
View file @
1e2fbe6b
...
...
@@ -9,7 +9,7 @@ FILE_PATH = file_path = ".github/outputs/tasks_all_changed_and_modified_files.tx
def
load_changed_files
(
file_path
:
str
=
FILE_PATH
)
->
List
[
str
]:
with
open
(
file_path
,
"r"
)
as
f
:
return
[
l
ine
.
strip
()
for
line
in
f
.
readlines
()]
return
[
l
for
line
in
f
.
readlines
()
for
l
in
line
.
strip
().
split
(
" "
)
]
def
parser
(
full_path
:
List
[
str
])
->
List
[
str
]:
...
...
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