Closed adamtheturtle closed 1 week ago
Without this, mypy --strict sphinx/ gives:
mypy --strict sphinx/
sphinx/ext/apidoc.py: note: In function "is_packagedir": sphinx/ext/apidoc.py:72:8: error: Non-overlapping identity check (left operand type: "list[str] | None", right operand type: "str | None") [comparison-overlap]
@jayaddison I chose this one as it was trivial. I'm not speaking to all of them, but some comparison-overlap errors are not so trivial.
comparison-overlap
Without this,
mypy --strict sphinx/
gives: