Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (56 loc) · 1.35 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (56 loc) · 1.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
[project]
name = "qt-logging"
version = "1.0.1"
description = "Log viewer and status bar for Qt applications"
authors = [
{ name = "Beat Reichenbach" }
]
dependencies = [
"qtpy>=2.0,<3"
]
requires-python = ">=3.9"
license = "MIT"
readme = "README.md"
[project.optional-dependencies]
dev = [
"pre-commit>=4.0",
"python-semantic-release>=9.0",
"pytest>=8.0",
"qt-material-icons>=0.5",
"qt-themes>=0.2",
"ruff>=0.16",
"ty>=0.0.82",
"PySide6>=6.0",
]
pyside2 = ["PySide2"]
pyside6 = ["PySide6"]
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["qt_logging*"]
[tool.setuptools.package-data]
qt_logging = ["py.typed", "**/resources"]
[tool.semantic_release]
allow_zero_version = true
version_variables = ["qt_logging/__init__.py:__version__"]
version_toml = ["pyproject.toml:project.version"]
[tool.semantic_release.remote]
ignore_token_for_push = true
[tool.ruff]
target-version = "py39"
extend-exclude = ["**/resources"]
force-exclude = true
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM", "ANN", "RUF"]
ignore = ["SIM108"]
[tool.ty.environment]
python-version = "3.9"
[tool.ty.src]
exclude = ["**/resources"]
[tool.pytest.ini_options]
testpaths = ["tests"]
log_cli = true
log_level = "INFO"