Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (81 loc) · 2.13 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (81 loc) · 2.13 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
[project]
name = "audit"
version = "0.1.0"
description = "Local, offline web accessibility auditor for WCAG 1.4.5 (Images of Text)."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "imregan" }]
license = { text = "MIT" }
dependencies = [
"httpx[http2]>=0.27",
"selectolax>=0.3.21",
"beautifulsoup4>=4.12",
"playwright>=1.40",
"tldextract>=5.1",
"typer>=0.12",
"pydantic>=2.6",
"pydantic-settings>=2.2",
"structlog>=24.1",
"yoyo-migrations>=8.2",
"rich>=13.7",
"pytesseract>=0.3.10",
"pillow>=10.2",
"rapidfuzz>=3.6",
"pyyaml>=6.0",
"fastapi>=0.110",
"uvicorn[standard]>=0.29",
"python-multipart>=0.0.9",
"jinja2>=3.1",
"aiofiles>=23.2",
"defusedxml>=0.7",
"openpyxl>=3.1",
"cryptography>=43.0",
]
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"pytest-cov>=5.0",
"respx>=0.21",
"ruff>=0.5",
"mypy>=1.10",
"types-PyYAML",
"types-aiofiles",
"types-beautifulsoup4",
"types-defusedxml",
]
desktop = [
"pyinstaller>=6.16",
]
[project.scripts]
audit = "audit.cli:app"
axcess-companion = "audit.cli:companion_main"
axcess-desktop-server = "audit.desktop_server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/audit"]
[tool.hatch.build.targets.wheel.force-include]
"src/audit/analyzer/vlm/prompts" = "audit/analyzer/vlm/prompts"
"src/audit/rules" = "audit/rules"
"src/audit/db/migrations" = "audit/db/migrations"
"src/audit/web/frontend/dist" = "audit/web/frontend/dist"
"src/audit/web/frontend/public" = "audit/web/frontend/public"
"src/audit/alfa_runner" = "audit/alfa_runner"
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra --strict-markers --strict-config"
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"integration: end-to-end integration tests (may hit local fixture server)",
"live_vlm: tests that require a live Ollama instance",
"ui: Playwright-based UI tests",
]
[tool.coverage.run]
source = ["src/audit"]
branch = true
[tool.coverage.report]
precision = 1
show_missing = true