Record the comprehension check: PR #513 paired ruling is better; say what a floor item is in the docstrings
CI / tests (pull_request) Successful in 2m43s
CI / tests (pull_request) Successful in 2m43s
This commit was merged in pull request #513.
This commit is contained in:
@@ -8,6 +8,7 @@ FLOOR_ITEM = "Reach the comprehension floor:"
|
||||
|
||||
|
||||
def is_floor_item(item: Item) -> bool:
|
||||
"""Whether the item's tagline, which keeps its `**` bold markers, opens with FLOOR_ITEM."""
|
||||
return item.tagline.removeprefix("**").startswith(FLOOR_ITEM)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user