init commit

初始提交,无事发生~
This commit is contained in:
2026-05-01 14:35:07 +08:00
commit f3442a1b61
46 changed files with 5751 additions and 0 deletions
+81
View File
@@ -0,0 +1,81 @@
[project]
name = "nyahome"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiofiles>=25.1.0",
"fastapi>=0.136.1",
"httpx>=0.28.1",
"loguru>=0.7.3",
"rich>=15.0.0",
"sqlmodel>=0.0.38",
"typer>=0.25.0",
"uvicorn>=0.46.0",
]
[dependency-groups]
dev = [
"mypy>=1.20.2",
"ruff>=0.15.12",
]
[project.scripts]
nyahome = "nyahome.manage:app"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
artifacts = ["src/nyahome/static/**"]
[tool.hatch.build.targets.wheel]
packages = ["src/nyahome"]
artifacts = ["src/nyahome/static/**"]
[tool.ruff]
preview = true
line-length = 120
[tool.ruff.lint]
select = [
"A",
"B",
"C",
"E",
"F",
"E",
"Q",
"I",
"N",
"W",
"DOC",
"RSE",
"RET",
"FAST",
"YTT",
"ANN",
"ASYNC",
"COM",
"T20",
"SIM",
"PTH",
"FLY",
"RUF",
]
ignore = [
"PTH123",
"RUF001",
"RUF002",
"RUF003",
"RUF029",
"C90",
"COM812",
]
[tool.mypy]
strict = true
warn_return_any = true