ruff compatible to YTT,E,W,F
All checks were successful
Pytest / pytest (3.12) (push) Successful in 50s
Pytest / pytest (3.13) (push) Successful in 49s
Pytest / pytest (3.14) (push) Successful in 49s
Pytest / pytest (3.12) (pull_request) Successful in 48s
Pytest / pytest (3.13) (pull_request) Successful in 49s
Pytest / pytest (3.14) (pull_request) Successful in 50s
All checks were successful
Pytest / pytest (3.12) (push) Successful in 50s
Pytest / pytest (3.13) (push) Successful in 49s
Pytest / pytest (3.14) (push) Successful in 49s
Pytest / pytest (3.12) (pull_request) Successful in 48s
Pytest / pytest (3.13) (pull_request) Successful in 49s
Pytest / pytest (3.14) (pull_request) Successful in 50s
This commit is contained in:
parent
602324f84f
commit
d137f67e10
8 changed files with 225 additions and 16 deletions
|
|
@ -130,14 +130,14 @@ def import_project(path: str, url: str, owner: Union[str, None]=None, tags: Unio
|
|||
dl.save([db, path + '/projects/' + uuid], message="Import project from " + url, dataset=path)
|
||||
else:
|
||||
dl.drop(tmp_path, reckless='kill')
|
||||
shutil.rmtree(tmp_path)
|
||||
shutil.rmtree(tmp_path)
|
||||
if aliases is not None:
|
||||
if isinstance(aliases, str):
|
||||
alias_list = [aliases]
|
||||
else:
|
||||
alias_list = aliases
|
||||
update_aliases(path, uuid, alias_list)
|
||||
|
||||
|
||||
# make this more concrete
|
||||
return uuid
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue