Skip to content

Commit

Permalink
review: Omit the extra annotations check
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwnasptd committed Jan 27, 2025
1 parent f2636ca commit 1cf2476
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/profiles_management/helpers/kfam.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,9 @@ def kfam_resources_list_to_roles_dict(
"""
contributor_roles_dict = {}
for resource in resources:
if has_valid_kfam_annotations(resource):
user = get_contributor_user(resource)
role = get_contributor_role(resource)
contributor_roles_dict[user] = contributor_roles_dict.get(user, []) + [role]
user = get_contributor_user(resource)
role = get_contributor_role(resource)
contributor_roles_dict[user] = contributor_roles_dict.get(user, []) + [role]

return contributor_roles_dict

Expand Down

0 comments on commit 1cf2476

Please sign in to comment.