Skip to content

Commit 66a0329

Browse files
chore: update pre-commit hooks (#8)
* chore: update pre-commit hooks updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](astral-sh/ruff-pre-commit@v0.5.2...v0.5.4) - [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.11.0](pre-commit/mirrors-mypy@v1.10.1...v1.11.0) * ci: fixes from updated mypy --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nathaniel Starkman <nstarman@users.noreply.github.com>
1 parent 5ee462c commit 66a0329

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,14 @@ repos:
4040
args: [--prose-wrap=always]
4141

4242
- repo: https://github.com/astral-sh/ruff-pre-commit
43-
rev: "v0.5.2"
43+
rev: "v0.5.4"
4444
hooks:
4545
- id: ruff
4646
args: ["--fix", "--show-fixes"]
4747
- id: ruff-format
4848

4949
- repo: https://github.com/pre-commit/mirrors-mypy
50-
rev: "v1.10.1"
50+
rev: "v1.11.0"
5151
hooks:
5252
- id: mypy
5353
files: src

src/immutable_map_jax/_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def get(self, key: K, /) -> V | None: ...
7777
@overload
7878
def get(self, key: K, /, default: V | _T) -> V | _T: ...
7979

80-
def get(self, key: K, /, default: V | _T | None = None) -> V | _T | None: # type: ignore[misc]
80+
def get(self, key: K, /, default: V | _T | None = None) -> V | _T | None:
8181
return self._data.get(key, default)
8282

8383
# ===========================================

0 commit comments

Comments
 (0)