forked from laike9m/Python-Type-Challenges
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
44 lines (39 loc) · 838 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
[project]
name = ""
version = ""
description = ""
authors = [
{name = "laike9m", email = "[email protected]"},
]
dependencies = [
"flask>=3.0.0",
"typing-extensions>=4.8.0",
"pyright>=1.1.334",
]
requires-python = ">=3.12"
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_black = "black ."
djhtml = "djhtml --tabwidth 2 templates"
format = {composite = ["run_black", "djhtml"]}
[tool.pdm.dev-dependencies]
dev = [
"pytest>=7.4.3",
"djhtml>=3.0.6",
"pre-commit>=3.5.0",
"pytest-xdist>=3.3.1",
"black>=23.11.0",
]
[[tool.pdm.autoexport]]
filename = "requirements.txt"
groups = ["default"]
without-hashes = true
[tool.pyright]
venvPath = "."
venv = ".venv"
pythonVersion = "3.12"