This commit is contained in:
2026-02-03 17:15:58 +05:00
commit 335db59c9c
11 changed files with 738 additions and 0 deletions

42
pyproject.toml Normal file
View File

@@ -0,0 +1,42 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "api-copp"
version = "0.3.0"
description = "API приложение на FastAPI"
readme = "README.md"
requires-python = ">=3.14"
authors = [{name = "Author", email = "author@example.com"}]
keywords = ["api", "fastapi"]
dependencies = [
"fastapi>=0.128.0",
"uvicorn[standard]>=0.40.0",
"pydantic>=2.12.5",
"python-dotenv>=1.2.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
]
[project.urls]
Homepage = "https://github.com/user/api-copp"
Documentation = "http://localhost:8000/docs"
[tool.hatch.build.targets.wheel]
packages = ["route"]
[tool.black]
line-length = 100
target-version = ["py314"]
[tool.ruff]
line-length = 100
target-version = "py314"