-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
51 lines (42 loc) · 948 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
46
47
48
49
50
[project]
name = "app-name"
version = "0.1.0"
description = "Default template for PDM package"
authors = [
{name = "Renato Cruz", email = "[email protected]"},
]
dependencies = ["PySide6>=6.9.0"]
requires-python = ">=3.12,<3.14"
readme = "README.md"
license = {text = "MIT"}
[dependency-groups]
dev = [
"ruff>=0.11.4",
"taskipy>=1.14.1",
]
[project.gui-scripts]
app-name = "app_name:main"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.ruff]
line-length = 79
extend-exclude = [
".flatpak-builder",
".pdm-build",
".venv",
"docs",
"flatpak-build-dir",
"resources_rc.py",
]
[tool.ruff.lint]
select = ["I", "F", "E", "W", "PL", "PT"]
[tool.ruff.format]
quote-style = "single"
[tool.taskipy.tasks]
format = "ruff check . --select I --fix && ruff format ."
setup = "python resources/tools.py"
designer = "pyside6-designer"
tr = "pyside6-linguist"