47 lines
866 B
TOML
47 lines
866 B
TOML
[project]
|
|
name = "bebe"
|
|
version = "0.1.0"
|
|
description = "Sve okolu bebe"
|
|
authors = [
|
|
{name = "Vladan Popovic", email = "vladanovic@gmail.com"},
|
|
]
|
|
dependencies = [
|
|
"fastapi>=0.111.1",
|
|
"sqlalchemy>=2.0.31",
|
|
]
|
|
requires-python = ">=3.12"
|
|
readme = "README.md"
|
|
license = {text = "MIT"}
|
|
|
|
[build-system]
|
|
requires = ["pdm-backend"]
|
|
build-backend = "pdm.backend"
|
|
|
|
|
|
[tool.pdm]
|
|
distribution = true
|
|
|
|
[tool.pdm.scripts]
|
|
start = "fastapi run src/bebe/main.py --reload"
|
|
resetdb = "python -m bebe.db"
|
|
|
|
[tool.pdm.dev-dependencies]
|
|
dev = [
|
|
"ruff>=0.5.3",
|
|
"pyright>=1.1.372",
|
|
"ruff-lsp>=0.0.54",
|
|
]
|
|
|
|
[tool.pyright]
|
|
include = ["src"]
|
|
exclude = ["**/node_modules",
|
|
"**/__pycache__",
|
|
"src/typestubs"
|
|
]
|
|
venv = ".venv"
|
|
defineConstant = { DEBUG = true }
|
|
reportMissingImports = true
|
|
reportMissingTypeStubs = false
|
|
pythonVersion = "3.12"
|
|
pythonPlatform = "Linux"
|