Skip to content

ci(pre-commit.ci): autoupdate #125

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ ci:

repos:
- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.23
rev: v0.24.1
hooks:
- id: validate-pyproject

- repo: https://github.com/crate-ci/typos
rev: dictgen-v0.3.1
rev: v1
hooks:
- id: typos

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.6
rev: v0.11.8
hooks:
- id: ruff
args: [--fix, --unsafe-fixes]
- id: ruff-format

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.15.0
hooks:
- id: mypy
files: "^src/"
2 changes: 1 addition & 1 deletion src/in_n_out/_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -1053,7 +1053,7 @@ def _type_from_hints(hints: dict[str, Any]) -> Any:
type_ = rest[0]
weight = 0
elif len(rest) == 2:
type_, weight = cast(tuple[Optional[THint], float], rest)
type_, weight = cast("tuple[Optional[THint], float]", rest)
else: # pragma: no cover
raise ValueError(f"Invalid callback tuple: {tup!r}")

Expand Down
Loading