Skip to content

Commit 2e6567b

Browse files
More lint fixes
1 parent 8d00ead commit 2e6567b

File tree

1 file changed

+2
-1
lines changed
  • sir_complainsalot/delphi_sir_complainsalot

1 file changed

+2
-1
lines changed

sir_complainsalot/delphi_sir_complainsalot/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def report_complaints(all_complaints, params):
6464
assert False, e.response["error"]
6565

6666
def get_maintainers_block(complaints):
67+
"""Build a Slack block to alert maintainers to pay attention."""
6768
maintainers = set()
6869
for c in complaints:
6970
maintainers.update(c.maintainers)
@@ -87,7 +88,7 @@ def format_complaints_aggregated_by_source(complaints):
8788

8889
blocks = [get_maintainers_block(complaints)]
8990

90-
def message_for_source(complaint):
91+
def message_for_source(complaint):
9192
return "{main_text} - (last update: {last_updated})".format(
9293
main_text=complaint.message,
9394
last_updated=complaint.last_updated.strftime("%Y-%m-%d"))

0 commit comments

Comments
 (0)