Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jitingxu1 committed May 28, 2024
1 parent d95f193 commit 88f9065
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/support_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,12 @@ def count_full(column):
)

def count_partial(column):
return sum(1 for value in column if isinstance(value, str) and value not in ("backend-specific", "type-specific"))
return sum(
1
for value in column
if isinstance(value, str)
and value not in ("backend-specific", "type-specific")
)

partial_coverage = pd.Index(
support_matrix.apply(count_partial)
Expand Down

0 comments on commit 88f9065

Please sign in to comment.