-
-
Notifications
You must be signed in to change notification settings - Fork 89
/
pyproject.toml
63 lines (52 loc) · 1.4 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[tool.poetry]
name = "tarsier"
version = "0.8.2"
description = "Vision utilities for web interaction agents"
authors = ["Rohan Pandey", "Adam Watkins", "Asim Shrestha"]
readme = "README.md"
include = ["tarsier/**/*.min.js"]
exclude = ["tarsier/**/*.ts", "tarsier_snapshots", "tarsier_snapshots/*"]
[tool.poetry.dependencies]
python = ">=3.11,<4.0"
playwright = "^1.44.0"
selenium = "^4.21.0"
google-cloud-vision = "^3.7.2"
azure-ai-vision-imageanalysis = "^1.0.0b2"
[tool.poetry.group.dev.dependencies]
mypy = "^1.10.0"
ruff = ">=0.4.8,<0.7.0"
bananalyzer = "0.10.8"
[tool.poetry.group.test.dependencies]
pytest = ">=7.4.3,<9.0.0"
pytest-cov = ">=4.1,<6.0"
pytest-playwright = ">=0.4.4,<0.6.0"
pytest-asyncio = ">=0.24.0,<0.25.0"
nest-asyncio = "^1.6.0"
webdriver-manager = "^4.0.1"
pytest-mock = "^3.14.0"
[tool.isort]
profile = "black"
multi_line_output = 3
src_paths = ["tarsier", "tests"]
known_first_party = ["commons"]
[tool.mypy]
strict = true
ignore_missing_imports = true
allow_subclassing_any = true
allow_untyped_calls = true
pretty = true
show_error_codes = true
implicit_reexport = true
allow_untyped_decorators = true
warn_unused_ignores = false
warn_return_any = false
namespace_packages = true
files = "tarsier"
exclude = ["tests", "venv"]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"