-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
114 lines (100 loc) · 2.41 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
[project]
name = "axe-cli"
version = "1.8.3"
description = "axe, yerrrr"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"agent-client-protocol==0.7.0",
"axe-dig",
"aiofiles>=24.0,<26.0",
"aiohttp==3.13.3",
"typer==0.21.1",
"kosong[contrib]==0.41.0",
# loguru stays >=0.6.0 because notify-py (via batrachian-toad) caps it at <=0.6.0 on 3.14+.
"loguru>=0.6.0,<0.8",
"prompt-toolkit==3.0.52",
"pillow==12.1.0",
"pyyaml==6.0.3",
"rich==14.2.0",
"ripgrepy==2.2.0",
"streamingjson==0.0.5",
"trafilatura==2.0.0",
# lxml is used by trafilatura/htmldate/justext; keep pinned for binary wheels.
"lxml==6.0.2",
"tenacity==9.1.2",
"fastmcp==2.12.5",
"pydantic==2.12.5",
"httpx[socks]==0.28.1",
"pykaos==0.6.0",
"batrachian-toad==0.5.23; python_version >= \"3.14\"",
"tomlkit==0.14.0",
"jinja2==3.1.6",
"pyobjc-framework-cocoa>=12.1 ; sys_platform == 'darwin'",
"keyring>=25.7.0",
"tiktoken>=0.8.0",
]
[dependency-groups]
dev = [
"pyinstaller==6.18.0",
"inline-snapshot[black]>=0.31.1",
"pyright>=1.1.407",
"ty>=0.0.9",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"ruff>=0.14.10",
]
[build-system]
requires = ["uv_build>=0.8.5,<0.10.0"]
build-backend = "uv_build"
[tool.uv.build-backend]
module-name = ["axe_cli"]
source-exclude = ["examples/**/*", "tests/**/*", "src/axe_cli/deps/**/*"]
[tool.uv.workspace]
members = [
"packages/kosong",
"packages/kaos"
]
[tool.uv.sources]
kosong = { workspace = true }
pykaos = { workspace = true }
axe = { workspace = true }
[project.scripts]
axe = "axe_cli.cli:cli"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # Pyflakes
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"I", # isort
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["E501"]
"tests_e2e/**/*.py" = ["E501"]
[tool.pyright]
typeCheckingMode = "standard"
pythonVersion = "3.14"
include = [
"src/**/*.py",
"tests/**/*.py",
"tests_ai/scripts/**/*.py",
"tests_e2e/**/*.py",
]
strict = ["src/axe_cli/**/*.py"]
[tool.ty.environment]
python-version = "3.14"
[tool.ty.src]
include = [
"src/**/*.py",
"tests/**/*.py",
"tests_ai/scripts/**/*.py",
"tests_e2e/**/*.py",
]
[tool.typos.files]
extend-exclude = ["axe.spec", "pyinstaller.py"]
[tool.typos.default.extend-words]
datas = "datas"