-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (50 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
59 lines (50 loc) · 1.14 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "paywallfetcher"
version = "1.1.0"
description = "Authorized content retrieval skill for OpenClaw — fetch articles and Q&A using the logged-in browser session."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.8"
dependencies = [
"requests>=2.28.0",
"beautifulsoup4>=4.12.0",
]
[project.optional-dependencies]
browser-auth = [
"browser-cookie3>=0.20.1",
]
browser-assist = [
"playwright>=1.40.0",
]
all = [
"browser-cookie3>=0.20.1",
"playwright>=1.40.0",
]
dev = [
"pytest>=7.4",
"pytest-mock>=3.12",
"ruff>=0.4",
"mypy>=1.8",
]
[project.scripts]
paywallfetcher = "paywallfetcher.cli:run"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.ruff]
line-length = 100
target-version = "py38"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["E402"]
[tool.mypy]
python_version = "3.8"
warn_unused_ignores = true
ignore_missing_imports = true