Skip to content

chore: update pre-commit hooks#3602

Merged
ianna merged 3 commits intomainfrom
pre-commit-ci-update-config
Aug 26, 2025
Merged

chore: update pre-commit hooks#3602
ianna merged 3 commits intomainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci
Copy link
Copy Markdown
Contributor

@pre-commit-ci pre-commit-ci bot commented Aug 4, 2025

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.2 → v0.12.7](astral-sh/ruff-pre-commit@v0.12.2...v0.12.7)
- [github.com/pre-commit/mirrors-mypy: v1.16.1 → v1.17.1](pre-commit/mirrors-mypy@v1.16.1...v1.17.1)
@ianna
Copy link
Copy Markdown
Member

ianna commented Aug 11, 2025

@pfackeldey - please check the errors:

src/awkward/_nplikes/typetracer.py:195: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
src/awkward/_nplikes/typetracer.py:196: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
src/awkward/_nplikes/typetracer.py:712: error: Value of type variable "ArrayLikeT" of "__call__" of "UfuncLike" cannot be "ndarray[Any, Any] | TypeTracerArray | Any"  [type-var]
src/awkward/_nplikes/typetracer.py:1691: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
src/awkward/_nplikes/typetracer.py:1697: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

@pfackeldey
Copy link
Copy Markdown
Collaborator

@pfackeldey - please check the errors:

src/awkward/_nplikes/typetracer.py:195: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
src/awkward/_nplikes/typetracer.py:196: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
src/awkward/_nplikes/typetracer.py:712: error: Value of type variable "ArrayLikeT" of "__call__" of "UfuncLike" cannot be "ndarray[Any, Any] | TypeTracerArray | Any"  [type-var]
src/awkward/_nplikes/typetracer.py:1691: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
src/awkward/_nplikes/typetracer.py:1697: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

should be resolve by #3614

typing: ensure the args for ufunc are ArrayLikes
@ianna ianna enabled auto-merge (squash) August 26, 2025 13:05
@ianna ianna merged commit 46d8c7a into main Aug 26, 2025
46 checks passed
@ianna ianna deleted the pre-commit-ci-update-config branch August 26, 2025 13:38
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.

2 participants