diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae6347f1e34..40952703b3d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,7 +7,7 @@ repos: - id: check-yaml - repo: https://github.com/rhysd/actionlint - rev: v1.7.10 + rev: v1.7.11 hooks: - id: actionlint args: [-ignore, SC] @@ -25,13 +25,13 @@ repos: exclude: ^marimo/_tutorials/.*\.md - repo: https://github.com/crate-ci/typos - rev: v1.43.1 + rev: v1 hooks: - id: typos pass_filenames: false - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.0 + rev: v0.15.1 hooks: # Run the linter - id: ruff @@ -40,7 +40,7 @@ repos: - id: ruff-format - repo: https://github.com/biomejs/pre-commit - rev: v2.3.13 + rev: v2.3.15 hooks: - id: biome-check args: [--diagnostic-level, warn] diff --git a/marimo/_save/hash.py b/marimo/_save/hash.py index 5a05dfd0683..765e3484efa 100644 --- a/marimo/_save/hash.py +++ b/marimo/_save/hash.py @@ -78,7 +78,7 @@ def hash_module( def process(code_obj: CodeType) -> None: # Recursively hash the constants that are also code objects - for const in code_obj.co_consts: + for const in code_obj.co_constants: if isinstance(const, types.CodeType): process(const) else: