Skip to content

Commit 7c00223

Browse files
committed
fix lint
Signed-off-by: Eli Uriegas <eliuriegas@meta.com>
1 parent 91eb4c1 commit 7c00223

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

s3_management/update_dependencies.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ def main() -> None:
254254

255255
parser = ArgumentParser("Upload dependent packages to s3://pytorch")
256256
# Get unique paths from the packages list
257-
project_paths = list(set(pkg_info["project"] for pkg_info in PACKAGES_PER_PROJECT.values()))
257+
project_paths = list(
258+
set(pkg_info["project"] for pkg_info in PACKAGES_PER_PROJECT.values())
259+
)
258260
parser.add_argument("--package", choices=project_paths, default="torch")
259261
parser.add_argument("--dry-run", action="store_true")
260262
parser.add_argument("--only-pypi", action="store_true")
@@ -268,7 +270,8 @@ def main() -> None:
268270
for prefix in SUBFOLDERS:
269271
# Filter packages by the selected project path
270272
selected_packages = {
271-
pkg_name: pkg_info for pkg_name, pkg_info in PACKAGES_PER_PROJECT.items()
273+
pkg_name: pkg_info
274+
for pkg_name, pkg_info in PACKAGES_PER_PROJECT.items()
272275
if pkg_info["project"] == args.package
273276
}
274277
for pkg_name, pkg_info in selected_packages.items():

0 commit comments

Comments
 (0)