-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
136 lines (125 loc) · 3.18 KB
/
pyproject.toml
File metadata and controls
136 lines (125 loc) · 3.18 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
134
135
136
# pyproject.toml
[project]
name = "steam-library-manager"
version = "1.5.1"
description = "A powerful Steam library organizer for Linux - the modern Depressurizer alternative"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [{ name = "SwitchBros" }]
keywords = ["steam", "games", "library", "manager", "linux", "pyqt6", "depressurizer"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Games/Entertainment",
]
[project.urls]
Homepage = "https://github.com/Switch-Bros/SteamLibraryManager"
Repository = "https://github.com/Switch-Bros/SteamLibraryManager"
Issues = "https://github.com/Switch-Bros/SteamLibraryManager/issues"
Changelog = "https://github.com/Switch-Bros/SteamLibraryManager/blob/master/CHANGELOG.md"
[project.gui-scripts]
steam-library-manager = "steam_library_manager.main:main"
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
include = ["steam_library_manager*"]
[tool.setuptools.package-data]
"steam_library_manager" = [
"resources/**/*.json",
"resources/**/*.png",
"resources/**/*.svg",
"resources/**/*.webp",
"resources/**/*.ttf",
"resources/**/*.otf",
"resources/**/*.sql",
"core/db/*.sql",
"resources/**/*.proto",
"resources/**/*.txt",
"resources/**/*.xml",
"resources/**/*.desktop",
"resources/**/*.wav",
]
[tool.black]
line-length = 120
target-version = ["py310", "py311", "py312", "py313"]
include = '\.pyi?$'
extend-exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
python_version = "3.10"
warn_return_any = false
warn_unused_configs = true
warn_unused_ignores = false
disallow_untyped_defs = false
check_untyped_defs = false
no_implicit_optional = true
ignore_missing_imports = true
follow_imports = "silent"
exclude = [
'build/',
'dist/',
'\.venv/',
]
# Disable noisy Qt-related checks (Phase 7 cleanup)
disable_error_code = [
"union-attr",
"attr-defined",
"assignment",
"arg-type",
"override",
"var-annotated",
"method-assign",
"has-type",
"return-value",
"index",
"misc",
"import-untyped",
"annotation-unchecked",
"truthy-function",
]
[tool.pytest.ini_options]
minversion = "8.3"
addopts = "-v --tb=short -ra --strict-markers"
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
[tool.coverage.run]
source = ["steam_library_manager"]
omit = [
"*/tests/*",
"*/__pycache__/*",
"steam_library_manager/main.py",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if self.debug:",
"if __name__ == .__main__.:",
"raise AssertionError",
"raise NotImplementedError",
"if 0:",
"if False:",
]