Skip to content

Conversation

cclauss
Copy link

@cclauss cclauss commented Sep 28, 2024

I am not quite sure how to resolve the mypy feedback.

% pre-commit autoupdate
% pre-commit run --all-files

mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

src/autodoc2/sphinx/extension.py:45: error: Non-overlapping container check (element type: "<typing special form>", container item type: "type[str] | type[int] | type[float] | type[bool] | type[list[Any]]")  [comparison-overlap]
src/autodoc2/sphinx/extension.py:46: error: Incompatible types in assignment (expression has type "tuple[<typing special form>]", variable has type "<typing special form>")  [assignment]
Found 2 errors in 1 file (checked 19 source files)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant