-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (86 loc) · 2.35 KB
/
pyproject.toml
File metadata and controls
108 lines (86 loc) · 2.35 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[project]
description = ""
license = { text = "LGPL-3.0-or-later" }
name = "synodic_client"
authors = [{ name = "Synodic Software", email = "contact@synodic.software" }]
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.14, <3.15"
dependencies = [
"pyside6>=6.10.2",
"packaging>=26.0",
"porringer>=0.2.1.dev88",
"qasync>=0.28.0",
"velopack>=0.0.1535.dev45597",
"typer>=0.24.1",
]
[project.urls]
homepage = "https://github.com/synodic/synodic-client"
repository = "https://github.com/synodic/synodic-client"
[dependency-groups]
build = [
"pyinstaller>=6.19.0",
]
lint = [
"ruff>=0.15.7",
"pyrefly>=0.57.1",
]
test = [
"pytest>=9.0.2",
"pytest-cov>=7.1.0",
"pytest-mock>=3.15.1",
]
[project.scripts]
synodic-c = "synodic_client.cli:app"
[project.gui-scripts]
synodic-client = "synodic_client.application.qt:application"
[tool.pytest.ini_options]
log_cli = true
testpaths = ["tests"]
[tool.ruff]
line-length = 120
preview = true
[tool.ruff.lint]
ignore = ["D206", "D300", "D415", "E111", "E114", "E117", "PLC0415", "PLR0913"]
select = [
"D", # pydocstyle
"F", # Pyflakes
"I", # isort
"PL", # pylint
"UP", # pyupgrade
"E", # pycodestyle
"B", # flake8-bugbear
"SIM", # flake8-simplify
"PT", # flake8-pytest-style
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
docstring-code-format = true
indent-style = "space"
quote-style = "single"
[tool.coverage.report]
skip_empty = true
[tool.pyrefly]
replace-imports-with-any = ["velopack", "winreg"]
[tool.pdm.version]
source = "scm"
[tool.pdm.resolution]
allow-prereleases = true
[tool.pdm.scripts]
analyze = "ruff check"
dev = "synodic-c --dev"
format = "ruff format"
lint = { composite = ["analyze", "format", "type-check"] }
package = { call = "tool.scripts.package:main" }
version = { call = "tool.scripts.version:main" }
post_install = { call = "tool.scripts.setup_dev:main" }
test = "pytest --cov=synodic_client --verbose tests"
type-check = "pyrefly check"
serve = "zensical serve"
# https://pdm-backend.fming.dev/build_config/#wheel-data-files
[tool.pdm.build.wheel-data]
data = [{ path = "data/**/*", relative-to = "data/" }]
[build-system]
build-backend = "pdm.backend"
requires = ["pdm.backend"]