Skip to content

Commit

Permalink
🎨 Format Python code with yapf (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: Chizkiyahu <Chizkiyahu@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Chizkiyahu authored Mar 19, 2023
1 parent d955e30 commit 1e4bcb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clean_ghcr.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def get_list_packages(owner, repo_name, owner_type, package_name):
f"/{owner_type}s/{owner}/packages?package_type=container")
if repo_name:
all_org_pkg = [
pkg for pkg in all_org_pkg
if pkg.get("repository") and pkg["repository"]["name"].lower() == repo_name
pkg for pkg in all_org_pkg if pkg.get("repository")
and pkg["repository"]["name"].lower() == repo_name
]
if package_name:
all_org_pkg = [
Expand Down

0 comments on commit 1e4bcb5

Please sign in to comment.