79 lines
1.3 KiB
TOML
79 lines
1.3 KiB
TOML
[project]
|
|
name = "backend"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "Jermey Van Sant", email = "jermey.e.vansant@gmail.com" }
|
|
]
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"fastapi[standard]>=0.141.1",
|
|
"sqlalchemy>=2.0.54",
|
|
]
|
|
|
|
[tool.fastapi]
|
|
entrypoint = "app.main:app"
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["."]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py312"
|
|
indent-width = 2
|
|
|
|
[tool.ruff.format]
|
|
indent-style = "space"
|
|
quote-style = "double"
|
|
|
|
[tool.ruff.lint]
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".git-rewrite",
|
|
".hg",
|
|
".ipynb_checkpoints",
|
|
".mypy_cache",
|
|
".nox",
|
|
".pants.d",
|
|
".pyenv",
|
|
"__init__.py",
|
|
".pytest_cache",
|
|
".pytype",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
".vscode",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"site-packages",
|
|
"venv",
|
|
]
|
|
|
|
select = [
|
|
"E", # pycodestyle
|
|
"F", # Pyflakes
|
|
"D", # Docstrings
|
|
"I", # isort
|
|
"UP", # pyupgrade
|
|
"B", # flake8-bugbear
|
|
"SIM", # flake8-simplify
|
|
"ANN",
|
|
"RUF", # Ruff-specific rules
|
|
]
|
|
ignore = ["EXE002"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"httpx2>=2.13.0",
|
|
"pytest>=9.1.1",
|
|
]
|