File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ def make_repo_script_list(instance: RepoInstance, repo_directory: str) -> list[s
98
98
repo = instance ["repo" ]
99
99
env_setup_commit = instance ["reference_commit" ]
100
100
base_commit = instance ["base_commit" ]
101
- if float (specs [' python' ]) < 3.7 :
102
- specs [' python' ] = 3.7
101
+ if float (specs [" python" ]) < 3.7 :
102
+ specs [" python" ] = 3.7
103
103
104
104
setup_commands = [
105
105
f"git clone -o origin https://github.com/{ repo } { repo_directory } " ,
@@ -142,7 +142,9 @@ def make_repo_script_list(instance: RepoInstance, repo_directory: str) -> list[s
142
142
cmd = f"uv pip install { specs ['packages' ]} "
143
143
setup_commands .append (cmd )
144
144
else :
145
- raise TypeError (f"{ specs ['packages' ]} has a type other than string and list so couldn't be parsed." )
145
+ raise TypeError (
146
+ f"{ specs ['packages' ]} has a type other than string and list so couldn't be parsed."
147
+ )
146
148
147
149
# Install additional packages if specified
148
150
if "pip_packages" in specs and specs ["pip_packages" ] is not None :
You can’t perform that action at this time.
0 commit comments