Skip to content

Commit

Permalink
lintrunner -a
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Oct 15, 2024
1 parent 6f95ff9 commit 2c81519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,7 @@ def save_results(results, filename):

installed_packages = pkg_resources.working_set
installed_packages_list = sorted(
[
f"{i.key}=={i.version}"
for i in installed_packages
if i.key in ["onnxruntime", "onnxruntime-gpu"]
]
[f"{i.key}=={i.version}" for i in installed_packages if i.key in ["onnxruntime", "onnxruntime-gpu"]]
)

ort_pkg_name = ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,7 @@ def save_results(results, filename):

installed_packages = pkg_resources.working_set
installed_packages_list = sorted(
[
f"{i.key}=={i.version}"
for i in installed_packages
if i.key in ["onnxruntime", "onnxruntime-gpu"]
]
[f"{i.key}=={i.version}" for i in installed_packages if i.key in ["onnxruntime", "onnxruntime-gpu"]]
)
ort_pkg_name = ""
ort_pkg_version = ""
Expand Down

0 comments on commit 2c81519

Please sign in to comment.