Skip to content

Commit

Permalink
Specify type: ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-koch committed Dec 4, 2023
1 parent f930ecc commit f5e60cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guppy/checker/cfg_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def check_bb(
checked_bb = CheckedBB(
bb.idx, checked_cfg, checked_stmts, sig=Signature(inputs, outputs)
)
checked_bb.successors = [None] * len(bb.successors) # type: ignore
checked_bb.successors = [None] * len(bb.successors) # type: ignore[list-item]
checked_bb.branch_pred = bb.branch_pred
return checked_bb

Expand Down

0 comments on commit f5e60cf

Please sign in to comment.