Skip to content

pre-commit autoupdate 2024-09-28#73

Open
cclauss wants to merge 1 commit into
sphinx-extensions2:mainfrom
cclauss:pre-commit-autoupdate-2024-09-28
Open

pre-commit autoupdate 2024-09-28#73
cclauss wants to merge 1 commit into
sphinx-extensions2:mainfrom
cclauss:pre-commit-autoupdate-2024-09-28

Conversation

@cclauss

@cclauss cclauss commented Sep 28, 2024

Copy link
Copy Markdown

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