-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (53 loc) · 1.36 KB
/
Copy pathpyproject.toml
File metadata and controls
61 lines (53 loc) · 1.36 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
[project]
name = "protondl"
version = "0.1.0"
description = "Modern Python headless and async-first library and CLI for managing Steam & Linux gaming compatibility tools."
readme = "README.md"
authors = [
{ name = "DavidoTek", email = "54072917+DavidoTek@users.noreply.github.com" }
]
requires-python = ">=3.10"
dependencies = [
"httpx>=0.28.1",
"pyyaml",
"steam",
"vdf",
"zstandard>=0.25.0",
]
[project.optional-dependencies]
cli = [
"rich>=15.0.0",
"typer>=0.27.1",
]
[project.scripts]
protondl = "protondl.cli.main:app"
[build-system]
requires = ["uv_build>=0.10.8,<0.11.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"mypy>=2.3.0",
"pre-commit>=4.6.1",
"pytest>=9.1.1",
"ruff>=0.16.2",
]
[tool.ruff]
# Target Python version
target-version = "py310"
line-length = 100
[tool.ruff.lint]
# Enable specific rules (Pyflakes, Pycodestyle, isort, etc.)
select = ["E", "F", "I", "N", "UP", "B"]
ignore = []
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
follow_untyped_imports = true
untyped_calls_exclude = ["vdf", "steam", "yaml"]
disallow_untyped_decorators = false
mypy_path = "src"
[tool.uv.sources]
vdf = { git = "https://github.com/solsticegamestudios/vdf", rev = "v4.0" }
steam = { git = "https://github.com/solsticegamestudios/steam.git", rev = "v2.0.0-alpha1" }