-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (62 loc) · 1.41 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (62 loc) · 1.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
[project]
name = "allabiografer"
version = "0.1.0"
requires-python = ">=3.13"
dependencies = [
"jinja2>=3.1",
"pillow>=11.0",
]
[project.scripts]
parse = "parse:main"
build = "build:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/parse", "src/build", "src/store"]
[tool.ruff]
target-version = "py313"
line-length = 120
[tool.ruff.lint]
# Intentional Swedish typography (en dash in page titles); not a typo for a hyphen.
allowed-confusables = ["–"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"SIM", # flake8-simplify
"RUF", # ruff-specific
"C4", # flake8-comprehensions
"DTZ", # flake8-datetimez
"PIE", # flake8-pie
"PT", # flake8-pytest-style
"RSE", # flake8-raise
"RET", # flake8-return
"TCH", # flake8-type-checking
"PERF", # perflint
"FURB", # refurb
"LOG", # flake8-logging
]
ignore = [
"RET504", # unnecessary assignment before return
]
[tool.ruff.lint.isort]
known-first-party = ["parse", "build", "store"]
[dependency-groups]
build = [
"jinja2>=3.1",
"pillow>=11.0",
]
parse = [
"beautifulsoup4>=4.12",
"curl-cffi>=0.7",
"playwright>=1.49",
"requests>=2.31",
]
dev = [
"ruff>=0.15.8",
]