Skip to content

Commit

Permalink
Update checks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Jul 12, 2024
1 parent 1737a73 commit ca23e1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/repo_review/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ def is_allowed(select: Set[str], ignore: Set[str], name: str) -> bool:
and "*" not in select
):
return False
if name in ignore or name.rstrip("0123456789") in ignore:
return False
return True

return name not in ignore and name.rstrip("0123456789") not in ignore:


def get_check_url(name: str, check: Check) -> str:
Expand Down

0 comments on commit ca23e1b

Please sign in to comment.