bump agent (#143), computer-server, computer, mcp-server python version to 3.11

This commit is contained in:
Dillon DuPont
2025-05-28 08:47:33 -04:00
parent afcd6814aa
commit ba68e85ba9
19 changed files with 48 additions and 48 deletions

View File

@@ -200,11 +200,11 @@ The formatting configuration is defined in the root `pyproject.toml` file:
```toml
[tool.black]
line-length = 100
target-version = ["py310"]
target-version = ["py311"]
[tool.ruff]
line-length = 100
target-version = "py310"
target-version = "py311"
select = ["E", "F", "B", "I"]
fix = true
@@ -213,7 +213,7 @@ docstring-code-format = true
[tool.mypy]
strict = true
python_version = "3.10"
python_version = "3.11"
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
@@ -225,7 +225,7 @@ warn_unused_ignores = false
#### Key Formatting Rules
- **Line Length**: Maximum of 100 characters
- **Python Version**: Code should be compatible with Python 3.10+
- **Python Version**: Code should be compatible with Python 3.11+
- **Imports**: Automatically sorted (using Ruff's "I" rule)
- **Type Hints**: Required for all function definitions (strict mypy mode)

View File

@@ -10,7 +10,7 @@ CUA libraries collect minimal anonymous usage data to help improve our software.
- Basic system information:
- Operating system (e.g., 'darwin', 'win32', 'linux')
- Python version (e.g., '3.10.0')
- Python version (e.g., '3.11.0')
- Module initialization events:
- When a module (like 'computer' or 'agent') is imported
- Version of the module being used