diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 872cb47..8f20c93 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.8.4 + rev: v0.9.2 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/crate-ci/typos - rev: v1.28.4 + rev: dictgen-v0.3.1 hooks: - id: typos diff --git a/reasonify-headless/reasonify/utils/tool.py b/reasonify-headless/reasonify/utils/tool.py index 5eadf16..af48d46 100644 --- a/reasonify-headless/reasonify/utils/tool.py +++ b/reasonify-headless/reasonify/utils/tool.py @@ -24,7 +24,7 @@ def tool[T: Callable](function: T) -> T: @register_component("stubs") @SimpleComponent def stubfile(): - return f"```py\n{"\n\n".join(stubs.values())}\n```" + return f"```py\n{'\n\n'.join(stubs.values())}\n```" @tool