Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit autoupdate #12898

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

@uranusjr uranusjr added the skip news Does not need a NEWS file entry (eg: trivial changes) label Aug 6, 2024
@uranusjr
Copy link
Member

uranusjr commented Aug 6, 2024

src/pip/_internal/utils/misc.py:132: error:
"Callable[[FunctionType, Path, BaseException], Any] | Callable[[FunctionType, Path, tuple[type[BaseException], BaseException, TracebackType]], Any]"
not callable  [misc]

A callable is not callable. WTF?

@uranusjr
Copy link
Member

uranusjr commented Aug 6, 2024

Looks similar to python/mypy#17631

1.11 added special support for partial and that seems to break cases like this. (Not sure what the criteria are exactly.) python/mypy#16939

updates:
- [github.com/psf/black-pre-commit-mirror: 24.4.2 → 24.8.0](psf/black-pre-commit-mirror@24.4.2...24.8.0)
- [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.6.3](astral-sh/ruff-pre-commit@v0.5.6...v0.6.3)
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.11.2](pre-commit/mirrors-mypy@v1.10.0...v1.11.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant