👷 Add build system configuration with hatchling

This commit is contained in:
2025-03-08 18:32:15 +01:00
parent fd3ed1c093
commit 84a98f2867

View File

@@ -23,6 +23,16 @@ dev = [
"ruff>=0.9.9", "ruff>=0.9.9",
] ]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatchling]
name = "pycord-rest-bot"
[tool.hatch.build.targets.wheel]
packages = ["src/pycord_rest"]
[tool.pyright] [tool.pyright]
pythonVersion = "3.12" pythonVersion = "3.12"
reportAny = false reportAny = false
@@ -75,3 +85,6 @@ extend-ignore = [
"PLR0913", "PLR0913",
"C901" "C901"
] ]
[tool.uv.workspace]
members = ["test"]