Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
101 lines (94 loc) · 2.54 KB
/
Copy pathpyproject.toml
File metadata and controls
101 lines (94 loc) · 2.54 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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling", "uv-dynamic-versioning" ]
[project]
name = "install-playwright"
description = "Execute `playwright install` from Python"
readme = "README.md"
keywords = [
"automation",
"browser",
"chromium",
"firefox",
"install",
"playwright",
"playwright-python",
"webkit",
]
license = "MIT"
authors = [ { name = "eggplants", email = "w10776e8w@yahoo.co.jp" } ]
requires-python = ">=3.10,<4"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
"Topic :: Utilities",
"Typing :: Typed",
]
dynamic = [ "version" ]
dependencies = [ "playwright>=1.49.1,<2" ]
urls.Documentation = "https://egpl.dev/install-playwright-python/"
urls.Issues = "https://github.com/eggplants/install-playwright-python/issues"
urls.Repository = "https://github.com/eggplants/install-playwright-python"
[dependency-groups]
dev = [
"pymarkdownlnt>=0.9.33",
"pyproject-fmt-py>=0",
"pytest>=9.0.2",
"pytest-asyncio>=1.3",
"pytest-cov>=7",
]
docs = [
"pdoc>=16",
]
[tool.hatch]
version.source = "uv-dynamic-versioning"
build.targets.wheel.include = [ "install_playwright" ]
build.targets.sdist.include = [ "install_playwright" ]
[tool.uv]
python-downloads = "never"
default-groups = [
"dev",
"docs",
]
exclude-newer = "P7D"
# Own package: no cooldown needed.
exclude-newer-package = { pyproject-fmt-py = "P0D" }
preview = true
[tool.ruff]
line-length = 120
format.indent-style = "space"
format.quote-style = "double"
lint.select = [ "ALL" ]
lint.ignore = [
"COM812",
"CPY001", # Missing copyright notice (this project does not use file headers)
]
lint.per-file-ignores."main.py" = [
"T201", # `print` found
]
lint.per-file-ignores."tests/*.py" = [
"D",
"S101", # Use of assert detected
]
lint.pydocstyle.convention = "google"
[tool.coverage]
report.exclude_lines = [
"if TYPE_CHECKING:",
]
[tool.uv-dynamic-versioning]
vcs = "git"
style = "semver"
fallback-version = "0.0.0"