-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
112 lines (101 loc) · 2.19 KB
/
pyproject.toml
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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "valhalla"
version = "1.1.0"
description = "An alternative skin server for Minecraft supporting metadata and hd textures"
authors = [
{ name = "Matthew Messinger", email = "[email protected]" },
]
license = "AGPL-3.0-only"
dependencies = [
"aiofiles>=23.2.1",
"aiosqlite>=0.20.0",
"alembic>=1.13.1",
"authlib>=1.3.0",
"boto3>=1.34.93",
"expiringdict>=1.2.2",
"fastapi[standard]>=0.115.5",
"httpx>=0.27.0",
"itsdangerous>=2.2.0",
"pillow>=10.3.0",
"psycopg[binary]>=3.1.18",
"pydantic>=2.7.1",
"pydantic-settings>=2.2.1",
"python-dotenv>=1.0.1",
"python-jose>=3.3.0",
"python-multipart>=0.0.9",
"slowapi>=0.1.9",
"sqlalchemy[asyncio]>=2.0.29",
"uvicorn>=0.29.0",
]
requires-python = ">=3.13"
[project.urls]
repository = "https://github.com/killjoy1221/ValhallaSkinServer"
[dependency-groups]
test = [
"coverage>=7.6.7",
"moto[s3,sts]>=5.0.5",
"pytest>=8.1.2",
"pytest-httpx>=0.30.0",
"pytest-sugar>=1.0.0",
]
dev = [
"pre-commit>=3.7.0",
]
lint = [
"ruff>=0.4.2",
]
types = [
"boto3-stubs[s3,sts]>=1.34.93",
"mypy>=1.10.0",
"types-aiofiles>=23.2.0.20240403",
"types-pillow>=10.2.0.20240423",
"types-python-jose>=3.3.4.20240106",
]
[tool.pdm]
[tool.pdm.scripts]
dev = "fastapi dev"
test.composite = [
"coverage run -m pytest",
"coverage report",
"coverage xml",
]
lint.composite = [
"ruff check --fix",
"ruff format",
]
[tool.coverage]
[tool.coverage.report]
fail_under = 80
exclude_lines = [
"pragma: no cover",
"def __repr__",
"if TYPE_CHECKING:",
"@overload",
"class .*Protocol"
]
skip_covered = true
skip_empty = true
[tool.coverage.run]
branch = true
omit = [
".vscode*",
]
[tool.mypy]
plugins = [
"pydantic.mypy",
]
[[tool.mypy.overrides]]
module = ["authlib.*", "expiringdict"]
ignore_missing_imports = true
[tool.ruff]
[tool.ruff.lint]
select = [
"F", "E", "W", "B", "SIM", "I", "ANN", "UP",
"YTT", "FBT", "ASYNC", "C4", "DTZ",
"PIE", "RET", "SLF", "TRY", "FLY", "PERF", "RUF"
]
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true