-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
133 lines (113 loc) · 3.25 KB
/
pyproject.toml
File metadata and controls
133 lines (113 loc) · 3.25 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gambit-pairing"
dynamic = ["version"]
description = "Fast, fair, and modern tournament management. Open source and cross-platform."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"PyQt6",
"beautifulsoup4",
"httpx",
"packaging",
"python-dateutil",
"importlib-resources",
"Pillow",
]
license = {text = "GPL-3.0-or-later"}
# Authors & maintainers
authors = [
{name = "Chickaboo", email = "support@chickaboo.net"},
{name = "Nic", email = "nic@example.com"}
]
maintainers = [
{name = "Chickaboo", email = "support@chickaboo.net"},
{name = "Nic", email = "nic@example.com"}
]
# Keywords and classifiers
keywords = ["Gambit", "Open", "Source", "Pairing", "Chess"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
]
# Entry points
[project.gui-scripts]
gambit-pairing = "gambitpairing.__main__:main"
[project.urls]
Homepage = "https://www.chickaboo.net/gambit-pairing/"
Repository = "https://github.com/gambit-devs/gambit-pairing"
Issues = "https://github.com/gambit-devs/gambit-pairing/issues"
[project.optional-dependencies]
dev = [
"build",
"pyinstaller",
"black",
"isort",
"pytest",
"pre-commit",
"pyright",
"PyQt6-stubs", # Provides better type hints
]
# Setuptools configuration
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
include = ["gambitpairing*"]
[tool.black]
line-length = 88
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.isort]
profile = "black"
ensure_newline_before_comments = true
[tool.setuptools.package-data]
"gambitpairing.resources" = ["styles.qss"]
"gambitpairing.resources.icons" = ["*.png", "*.ico", "*.webp", "*.svg"]
[tool.setuptools.dynamic]
version = {attr = "gambitpairing.__version__"}
# Added for static type-checking support
[tool.pyright]
include = ["src", "tests"]
exclude = [
"build",
"dist",
"msi_build",
".venv",
"*.egg-info",
"__pycache__"
]
venvPath = "."
venv = ".venv"
# Python settings
pythonVersion = "3.12"
pythonPlatform = "All"
# Type checking mode
typeCheckingMode = "basic"
# Import handling
reportMissingImports = true
reportMissingTypeStubs = false
reportImportCycles = "error"
reportUnusedImport = "warning"
# PyQt6 compatibility settings
reportGeneralTypeIssues = "warning"
reportOptionalMemberAccess = "warning"
reportAttributeAccessIssue = "warning"
reportUnknownMemberType = "warning"
reportIncompatibleMethodOverride = "warning"
# Additional useful settings
reportUnusedVariable = "warning"
reportUnusedFunction = "warning"
reportDuplicateImport = "error"
# LocalWords: reportMissingTypeStubs reportUnusedImport venvPath
# LocalWords: reportImportCycles typeCheckingMode beautifulsoup