-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
pyproject.toml
62 lines (51 loc) 路 1.37 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
[tool.poetry]
name = "tarsier"
version = "0.5.941"
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"
playwright = "^1.39.0"
selenium = "^4.15.2"
google-cloud-vision = "^3.4.5"
[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = ">=23.11,<25.0"}
isort = "^5.12.0"
mypy = "^1.7.0"
[tool.poetry.group.test.dependencies]
pytest = ">=7.4.3,<9.0.0"
pytest-cov = "^4.1.0"
pytest-playwright = "^0.4.3"
pytest-asyncio = ">=0.21.1,<0.24.0"
nest-asyncio = "^1.5.8"
webdriver-manager = "^4.0.1"
pytest-mock = "^3.12.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"