-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (49 loc) · 1.03 KB
/
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
51
52
53
54
55
56
57
58
[project]
name = "app-name"
version = "0.1.0"
description = "Initial template for projects with Python, KDE Kirigami and Qt framework."
readme = "README.md"
authors = [
{ name = "Renato Cruz", email = "[email protected]" }
]
requires-python = ">=3.12"
dependencies = [
"pyside6==6.8.1",
]
[project.gui-scripts]
app-name = "app.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"ruff>=0.8.6",
"taskipy>=1.14.1",
]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/.idea",
"/.vscode",
"/docs",
]
[tool.hatch.build.targets.wheel]
packages = ["src/app"]
[tool.ruff]
line-length = 79
extend-exclude = [
".venv",
"docs",
"build",
".flatpak-builder",
"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 src/tools.py"
tr = "pyside6-linguist"