From 3e5dd6e6b473daabfa2ed4011dc121c3a6417ebc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 18:54:20 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/uv-pre-commit: 0.8.3 → 0.8.19](https://github.com/astral-sh/uv-pre-commit/compare/0.8.3...0.8.19) - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.5 → v0.13.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.5...v0.13.1) - [github.com/RobertCraigie/pyright-python: v1.1.403 → v1.1.405](https://github.com/RobertCraigie/pyright-python/compare/v1.1.403...v1.1.405) - [github.com/commitizen-tools/commitizen: v4.8.3 → v4.9.1](https://github.com/commitizen-tools/commitizen/compare/v4.8.3...v4.9.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1e0ef53..5324caf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,14 +6,14 @@ default_install_hook_types: repos: - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.8.3 + rev: 0.8.19 hooks: - id: uv-sync # - id: uv-export # outputs requirement.txt # Standard pre-commit hooks for general file health. - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace # Exclude markdown files from trailing whitespace checks as some formatting @@ -26,7 +26,7 @@ repos: # Ruff, for lightning-fast linting and formatting, installed with uv. - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.5 + rev: v0.13.1 hooks: # Run the linter. - id: ruff-check @@ -36,7 +36,7 @@ repos: # Pyright for static type checking, installed with uv. - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.403 + rev: v1.1.405 hooks: - id: pyright @@ -52,7 +52,7 @@ repos: # Commitizen-tools - repo: https://github.com/commitizen-tools/commitizen - rev: v4.8.3 # Replace with latest tag + rev: v4.9.1 # Replace with latest tag hooks: - id: commitizen - id: commitizen-branch From 23e31d92a7d402974e9c0cbc42fca7141a839df5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Sep 2025 18:54:30 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/sandbox/virtualmachine.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sandbox/virtualmachine.py b/src/sandbox/virtualmachine.py index 8a50182..4852d8d 100644 --- a/src/sandbox/virtualmachine.py +++ b/src/sandbox/virtualmachine.py @@ -4,13 +4,13 @@ import time from typing import Optional, Union, cast -from smolagents import AgentLogger, LogLevel - -import docker from docker.client import DockerClient from docker.errors import ImageNotFound, NotFound from docker.models.containers import Container from docker.types import Mount +from smolagents import AgentLogger, LogLevel + +import docker from .configs import SandboxVMConfig, VMConfig from .errors import VMCreationError