mirror of
https://github.com/microsoft/autogen.git
synced 2026-02-12 08:45:10 -05:00
* Initial work on multimodal websurfer * A little more progress. * Getting function calling to work. * Some basic progress with navigation. * Added ability to print multimodal messages to console. * Fixed hatch error * Nicely print multimodal messages to console. * Got OCR working. * Fixed the click action. * Solved some hatch errors. * Fixed some formatting errors. * Fixed more type errors. * Yet more fixes to types. * Fixed many type errors. * Fixed all type errors. Some needed to be ignored. See todos. * Fixed all? hatch errors? * Fixed multiline aria-names in prompts.
92 lines
1.9 KiB
TOML
92 lines
1.9 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "team-one"
|
|
version = "0.0.1"
|
|
description = ''
|
|
readme = "readme.md"
|
|
requires-python = ">=3.10"
|
|
license = "MIT"
|
|
keywords = []
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"agnext@{root:parent:parent:uri}",
|
|
"aiofiles",
|
|
"playwright"
|
|
]
|
|
|
|
[tool.hatch.envs.default]
|
|
installer = "uv"
|
|
dependencies = [
|
|
"pyright==1.1.368",
|
|
"mypy==1.10.0",
|
|
"ruff==0.4.8",
|
|
"pytest",
|
|
"aiofiles",
|
|
"types-aiofiles",
|
|
"azure-identity"
|
|
]
|
|
|
|
[tool.hatch.envs.default.extra-scripts]
|
|
pip = "{env:HATCH_UV} pip {args}"
|
|
|
|
[tool.hatch.envs.default.scripts]
|
|
fmt = "ruff format"
|
|
lint = "ruff check"
|
|
test = "pytest -n auto"
|
|
check = [
|
|
"ruff format",
|
|
"ruff check --fix",
|
|
"pyright",
|
|
"mypy --non-interactive --install-types",
|
|
"pytest",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
fix = true
|
|
exclude = ["build", "dist", "page_script.js"]
|
|
target-version = "py310"
|
|
include = ["src/**", "examples/*.py"]
|
|
|
|
[tool.ruff.format]
|
|
docstring-code-format = true
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "B", "Q", "I", "ASYNC"]
|
|
ignore = ["F401", "E501"]
|
|
|
|
[tool.mypy]
|
|
files = ["src", "examples", "tests"]
|
|
|
|
strict = true
|
|
python_version = "3.10"
|
|
ignore_missing_imports = true
|
|
|
|
# from https://blog.wolt.com/engineering/2021/09/30/professional-grade-mypy-configuration/
|
|
disallow_untyped_defs = true
|
|
no_implicit_optional = true
|
|
check_untyped_defs = true
|
|
warn_return_any = true
|
|
show_error_codes = true
|
|
warn_unused_ignores = false
|
|
|
|
disallow_incomplete_defs = true
|
|
disallow_untyped_decorators = true
|
|
disallow_any_unimported = true
|
|
|
|
[tool.pyright]
|
|
include = ["src", "tests", "examples"]
|
|
typeCheckingMode = "strict"
|
|
reportUnnecessaryIsInstance = false
|
|
reportMissingTypeStubs = false
|