Skip to content
Closed
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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/sandbox/virtualmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading