We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df53830 commit 4a1479fCopy full SHA for 4a1479f
Tools/scripts/patchcheck.py
@@ -62,12 +62,12 @@ def docs_modified(file_paths):
62
@status("Misc/ACKS updated", modal=True)
63
def credit_given(file_paths):
64
"""Check if Misc/ACKS has been changed."""
65
- return True if 'Misc/ACKS' in file_paths else False
+ return 'Misc/ACKS' in file_paths
66
67
@status("Misc/NEWS updated", modal=True)
68
def reported_news(file_paths):
69
"""Check if Misc/NEWS has been changed."""
70
- return True if 'Misc/NEWS' in file_paths else False
+ return 'Misc/NEWS' in file_paths
71
72
73
def main():
0 commit comments