Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (104 loc) · 2.71 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (104 loc) · 2.71 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "androidctl"
dynamic = ["version"]
description = "A Playwright-like CLI for Android automation, built for AI agents."
authors = [{ name = "Azure99" }]
keywords = ["agent", "android", "adb", "automation", "cli", "accessibility"]
readme = "README.md"
requires-python = ">=3.12"
license = "GPL-3.0-or-later"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
]
dependencies = [
"cryptography>=50.0.1,<51",
"pydantic>=2.11,<3",
"typer==0.27.2",
"websockets>=15.0.1,<16",
]
[project.optional-dependencies]
dev = [
"build",
"mypy",
"pytest>=8,<9",
"ruff",
"twine",
]
[project.scripts]
androidctl = "androidctl.app:main"
[project.urls]
Homepage = "https://github.com/Azure99/androidctl"
Repository = "https://github.com/Azure99/androidctl"
Issues = "https://github.com/Azure99/androidctl/issues"
[tool.setuptools]
packages = ["androidctl", "androidctl.resources", "androidctl.agent_skill"]
[tool.setuptools.package-dir]
androidctl = "androidctl/src/androidctl"
# Ship the public instructions from their sole source in every installation mode.
"androidctl.agent_skill" = "skills/androidctl"
[tool.setuptools.package-data]
"androidctl.resources" = ["*.apk"]
"androidctl.agent_skill" = ["*.md"]
[tool.setuptools.dynamic]
version = { file = ["VERSION"] }
[tool.pytest.ini_options]
pythonpath = [
"androidctl/src",
]
testpaths = [
"androidctl/tests",
"tools/release/tests",
]
[tool.ruff]
line-length = 88
target-version = "py312"
src = [
"androidctl/src",
"androidctl/tests",
]
[tool.ruff.lint]
select = [
"E", "F", "I", "B", "SIM", "C4", "UP",
"ARG001",
"PT",
"RUF005",
"RUF009",
"RUF012",
"RUF022",
"RUF100",
"S101",
]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["typer.Argument", "typer.Option"]
[tool.ruff.lint.per-file-ignores]
"{androidctl,tools/release}/tests/**/*.py" = ["ARG001", "S101"]
[tool.mypy]
python_version = "3.12"
files = [
"androidctl/src",
"tools/release",
]
exclude = ["^tools/release/tests/"]
mypy_path = "androidctl/src"
explicit_package_bases = true
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
no_implicit_optional = true
no_implicit_reexport = true
strict_equality = true
warn_return_any = true
warn_unreachable = true
warn_unused_ignores = true
warn_redundant_casts = true