File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ def get_aw_activity(
343343
344344 # Get buckets for window activity
345345 buckets = aw .get_buckets ()
346- window_buckets = [bid for bid in buckets . keys () if "window" in bid .lower ()]
346+ window_buckets = [bid for bid in buckets if "window" in bid .lower ()]
347347
348348 if not window_buckets :
349349 print ("Warning: No ActivityWatch window buckets found" )
@@ -606,7 +606,7 @@ def generate_report(
606606 "chore" : [],
607607 "other" : [],
608608 }
609- for pr_url , pr in seen_prs .items ():
609+ for _pr_url , pr in seen_prs .items ():
610610 title = pr ["title" ].lower ()
611611 if title .startswith ("feat" ):
612612 pr_categories ["feat" ].append (pr )
@@ -616,7 +616,7 @@ def generate_report(
616616 pr_categories ["docs" ].append (pr )
617617 elif title .startswith ("test" ):
618618 pr_categories ["test" ].append (pr )
619- elif title .startswith ("chore" ) or title . startswith ( "refactor" ):
619+ elif title .startswith (( "chore" , "refactor" ) ):
620620 pr_categories ["chore" ].append (pr )
621621 else :
622622 pr_categories ["other" ].append (pr )
You can’t perform that action at this time.
0 commit comments