Commit d8c6605
committed
ignore false-positive in hyperlink checks
It appears that mypy is now generating false-positives for some of the
hyperlink check implementation. The types from the find call should all
be node types checked by `is_confluence_href_node`, which are, for
example, indexable; although mypy reports otherwise. If we replicate
the same checks inside the loop without the wrap of
`is_confluence_href_node`, mypy does not complain. For now, just ignore
the warnings.
Signed-off-by: James Knight <git@jdknight.me>1 parent 8d1be46 commit d8c6605
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments