-
Notifications
You must be signed in to change notification settings - Fork 32
/
pyproject.toml
45 lines (40 loc) · 908 Bytes
/
pyproject.toml
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
[project]
name = ""
version = ""
description = ""
authors = [{ name = "laike9m", email = "[email protected]" }]
dependencies = [
"flask>=3.0.0",
"pyright>=1.1.338",
"flask-sitemapper>=1.7.0",
"markdown>=3.5.1",
"flask-htmx>=0.3.2",
]
requires-python = ">=3.12,<3.13"
readme = "README.md"
license = { text = "MIT" }
[tool.pdm]
plugins = ["pdm-autoexport"]
[tool.pdm.scripts]
dev = "flask --app app run --debug"
test = "pytest -n auto"
run_ruff = "ruff format"
djhtml.cmd = "djhtml --tabwidth 2 templates"
djhtml.env = { PYTHONUTF8 = "1" }
format = { composite = ["run_ruff", "djhtml"] }
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.4.3",
"djhtml>=3.0.6",
"pre-commit>=3.5.0",
"pytest-xdist>=3.3.1",
"ruff>=0.1.14",
]
[[tool.pdm.autoexport]]
filename = "requirements.txt"
groups = ["default"]
without-hashes = true
[tool.pyright]
venvPath = "."
venv = ".venv"
pythonVersion = "3.12"