-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (95 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
109 lines (95 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
[build-system]
requires = ["setuptools>=82.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "wpt-gen"
version = "0.1.0"
description = "A CLI Tool for AI-Powered Web Platform Test Generation"
readme = "README.md"
requires-python = ">=3.10"
license = "Apache-2.0"
authors = [
{name = "Google LLC"}
]
keywords = ["web-platform-tests", "wpt", "ai", "llm", "testing", "automation"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
]
dependencies = [
# Core LLM Integration
"google-genai>=1.62.0",
"openai>=2.20.0",
"anthropic>=0.84.0",
"tiktoken>=0.12.0",
# Context & Scraping
"beautifulsoup4>=4.12.0",
"lxml>=5.2.0",
"markdownify>=0.14.0",
# Prompt Templating
"jinja2>=3.1.6",
# CLI Infrastructure
"typer>=0.23.0",
"rich>=14.3.2",
"pyyaml>=6.0.3",
]
[project.urls]
Homepage = "https://github.com/GoogleChromeLabs/wpt-gen"
Repository = "https://github.com/GoogleChromeLabs/wpt-gen"
Issues = "https://github.com/GoogleChromeLabs/wpt-gen/issues"
[project.optional-dependencies]
dev = [
"pytest>=9.0.2",
"pytest-mock>=3.15.1",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.15.0",
"mypy>=1.19.1",
"types-PyYAML>=6.0.12.20250915",
"build>=1.4.0",
"twine>=6.2.0",
]
[project.scripts]
wpt-gen = "wptgen.main:app"
[tool.setuptools.packages.find]
include = ["wptgen*"]
[tool.setuptools.package-data]
wptgen = [
"templates/*.jinja",
"templates/*.xml",
"templates/*.txt",
"templates/resources/*.md"
]
[tool.ruff]
target-version = "py310"
line-length = 100
indent-width = 2
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
# Enable a wide set of rules for strict linting
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"PT", # flake8-pytest-style
]
ignore = [
"E501", # Line too long
]
[tool.ruff.lint.isort]
known-first-party = ["wptgen"]
[tool.mypy]
python_version = "3.10"
strict = true