Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
chore: disable MyPy, add target version py312, update documentation
Aditya Bavadekar049096bcd2e5
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex d886354602..f7653cd7df 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -37,8 +37,9 @@ jobs:run: |uv run isort --check-only .uv run black --check .- uv run ruff check --ignore E501,E402,I001,I002 .- uv run mypy .+ uv run ruff check .+ # Temporarily disabled due to untyped codebase+ # uv run mypy .# TypeScript type check- name: TypeScript typecheckdiff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex ea0c2e5a09..bbc42d48c7 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -20,7 +20,6 @@ repos:hooks:- id: isortname: isort code formatter- language_version: python3.11args: ['--profile', 'black']files: \.(py)$@@ -29,7 +28,6 @@ repos:hooks:- id: blackname: Black code formatter- language_version: python3.11files: \.(py)$- repo: https://github.com/charliermarsh/ruff-pre-commit@@ -37,14 +35,13 @@ repos:hooks:- id: ruffname: ruff linter- language_version: python3.11- args: ['--fix', '--ignore', 'E501,E402,I001,I002'] # Ignore line length, module level import not at top of file, and import sorting issues+ args: ['--fix']files: \.(py)$- - repo: https://github.com/pre-commit/mirrors-mypy- rev: v1.5.1- hooks:- - id: mypy- name: mypy type checker- language_version: python3.11- files: \.(py)$+ # Temporarily disabled due to untyped codebase+ # - repo: https://github.com/pre-commit/mirrors-mypy+ # rev: v1.5.1+ # hooks:+ # - id: mypy+ # name: mypy type checker+ # files: \.(py)$diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex e38aa3edff..69819ef6fb 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -37,7 +37,7 @@ We follow strict code formatting guidelines to ensure consistency across the cod# For Python codeuv run black .uv run isort .- uv run ruff check --ignore E501,E402,I001,I002 --fix .+ uv run ruff check --fix .```4. **Validate Your Code**: Ensure your code passes all checks:```bashdiff --git a/Development.md b/Development.mdindex e51bc500df..cfe21f6b62 100644--- a/Development.md+++ b/Development.md@@ -258,7 +258,7 @@ uv run black .uv run isort .# Run Ruff linter with auto-fix-uv run ruff check --ignore E501,E402,I001,I002 .+uv run ruff check .# Run type checking with MyPyuv run mypy .@@ -283,7 +283,7 @@ uv run pre-commit run# Python checksuv run black --check .uv run isort --check .-uv run ruff check --ignore E501,E402,I001,I002 .+uv run ruff check .uv run mypy .# JavaScript/TypeScript checksdiff --git a/pyproject.toml b/pyproject.tomlindex d6b70d5a16..fb7b1d0900 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -70,12 +70,12 @@ cua-mcp-server = { workspace = true }[tool.black]line-length = 100-target-version = ["py311"]+target-version = ["py312"][tool.ruff]fix = trueline-length = 100-target-version = "py311"+target-version = "py312"[tool.ruff.lint]select = ["E", "F", "B", "I"]@@ -92,7 +92,7 @@ docstring-code-format = truecheck_untyped_defs = truedisallow_untyped_defs = trueignore_missing_imports = true-python_version = "3.11"+python_version = "3.12"show_error_codes = truestrict = truewarn_return_any = true@@ -100,6 +100,7 @@ warn_unused_ignores = false[tool.isort]profile = "black"+py_version = 312[tool.pytest.ini_options]asyncio_mode = "auto"