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/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/psf/black-pre-commit-mirror: 24.4.2 → 24.10.0](psf/black-pre-commit-mirror@24.4.2...24.10.0)
- [github.com/astral-sh/ruff-pre-commit: v0.5.6 → v0.7.2](astral-sh/ruff-pre-commit@v0.5.6...v0.7.2)
- [github.com/pre-commit/mirrors-mypy: v1.12.1 → v1.13.0](pre-commit/mirrors-mypy@v1.12.1...v1.13.0)
@ichard26 ichard26 added this to the 25.0 milestone Nov 8, 2024
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.

2 participants