fix(ci): formatting and typing
This commit is contained in:
parent
e02a29bd40
commit
b6f3398bbc
3 changed files with 16 additions and 17 deletions
|
|
@ -78,7 +78,7 @@ def _extract_title(block: Tag) -> tuple[str, str]:
|
|||
|
||||
def _extract_samples(block: Tag) -> tuple[list[TestCase], bool]:
|
||||
st = block.find("div", class_="sample-test")
|
||||
if not st:
|
||||
if not isinstance(st, Tag):
|
||||
return [], False
|
||||
|
||||
input_pres: list[Tag] = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue