Skip to content

Commit

Permalink
Ignore type error from newer mypy on file that will be removed in fut…
Browse files Browse the repository at this point in the history
…ure versions
  • Loading branch information
fajpunk committed Oct 10, 2024
1 parent 1dac3ed commit 6e23b31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/documenteer/stackdocs/doxygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,11 @@ def render(self) -> str:
self._render_path_list(lines, tag_name, value)
elif tag_field.type == List[str]:
self._render_str_list(lines, tag_name, value)
elif tag_field.type == Path or tag_field.type == Optional[Path]:
elif (
tag_field.type == Path
or tag_field.type
== Optional[Path] # type: ignore[comparison-overlap]
):
self._render_path(lines, tag_name, value)
return "\n".join(lines) + "\n"

Expand Down

0 comments on commit 6e23b31

Please sign in to comment.