Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (54 loc) · 1.46 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (54 loc) · 1.46 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
[project]
name = "vilf"
version = "0.1.0"
description = "Vegans In Love with Food: static site of vegan restaurant reviews"
requires-python = ">=3.12"
dependencies = [
# scripts/build.py
"click>=8.1",
"jinja2>=3.1",
"markdown2>=2.5",
"mdplain>=1.0",
"pillow>=11",
"pyyaml>=6",
"tqdm>=4.66",
# scripts/spatula.py
"unidecode>=1.3",
# scripts/places.py (spatula, check, audit)
"requests>=2.32",
"python-dotenv>=1.0",
"fastapi>=0.141.1",
"uvicorn[standard]>=0.52.4",
"python-multipart>=0.0.32",
"sqlalchemy>=2",
"psycopg[binary]>=3.3.5",
"google-cloud-storage>=3.14.1",
"google-cloud-compute>=1.52.0",
"pillow-heif>=1.7.0",
]
[dependency-groups]
dev = [
"httpx>=0.28.1",
"pytest>=8",
"ruff>=0.15",
]
# scripts/instagram_poster.py + scripts/image_generator.py (run directly, not via ./vilf)
instagram = [
# scripts/instagram_poster.py still drives Chrome through Selenium
"selenium>=4.30",
"webdriver-manager>=4.0",
"undetected-chromedriver>=3.5",
"matplotlib>=3.9",
# undetected-chromedriver imports distutils, gone in 3.12+; setuptools provides the shim
"setuptools>=70",
]
[tool.uv]
package = false
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
[tool.ruff]
extend-exclude = ["scripts/instagram_poster.py", "scripts/image_generator.py"]
[tool.ruff.lint]
# Catch mistakes without imposing a wholesale formatting rewrite.
select = ["E4", "E9", "F"]