Skip to content

Commit

Permalink
exclude from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Jan 20, 2025
1 parent 0379509 commit b5d1760
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repo_policy_compliance/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ def _check_authorization_comment(
Returns:
A report whether the check has succeeded or failed.
"""
push_logins = {
# there seems to be an issue with comprehensions with coverage.py and python 3.12
push_logins = { # pragma: no branch
collaborator["login"]
for collaborator in get_collaborators(
repository=repository, permission="push", affiliation="all"
Expand Down

0 comments on commit b5d1760

Please sign in to comment.