Skip to content
This repository was archived by the owner on Sep 7, 2026. It is now read-only.
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.12.5
rev: v0.16.6
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
rev: "v6.0.0"
hooks:
- id: check-ast
- id: check-builtin-literals
Expand Down Expand Up @@ -49,6 +49,6 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/mgedmin/check-manifest
rev: "0.50"
rev: "0.51"
hooks:
- id: check-manifest
2 changes: 1 addition & 1 deletion src/ims/model/jsons/_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def deserializeKey(key: Enum) -> Any:
f"No attribute {key.name!r} in type enum {typeEnum!r}"
) from e
try:
return jsonDeserialize(obj.get(key.value, None), cls)
return jsonDeserialize(obj.get(key.value), cls)
except Exception:
log.error(
"Unable to deserialize {key} as {cls} from {json}",
Expand Down
Loading