mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
fixed mistake
This commit is contained in:
@ -51,7 +51,7 @@ def get_good_projects(csv_file: str) -> pd.DataFrame:
|
|||||||
|
|
||||||
def is_pull_good(pull: PullRequest, verbose: bool = False) -> bool:
|
def is_pull_good(pull: PullRequest, verbose: bool = False) -> bool:
|
||||||
comments = pull.get_review_comments()
|
comments = pull.get_review_comments()
|
||||||
if pull.user.type != "Bot" or comments.totalCount > 2:
|
if pull.user.type == "Bot" or comments.totalCount > 2:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
if comments.totalCount == 2:
|
if comments.totalCount == 2:
|
||||||
|
Reference in New Issue
Block a user