Files
amap/backend/pyproject.toml
2026-02-09 17:39:09 +01:00

66 lines
1.4 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "backend"
dynamic = ["version"]
description = ''
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = []
authors = [
{ name = "Julien Aldon", email = "julien.aldon@wanadoo.fr" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"fastapi",
"sqlmodel",
"psycopg2",
"PyJWT",
"cryptography",
"requests"
]
[project.urls]
Documentation = "https://github.com/Julien Aldon/backend#readme"
Issues = "https://github.com/Julien Aldon/backend/issues"
Source = "https://github.com/Julien Aldon/backend"
[tool.hatch.version]
path = "src/__about__.py"
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/backend tests}"
[tool.coverage.run]
source_pkgs = ["backend", "tests"]
branch = true
parallel = true
omit = [
"src/__about__.py",
]
[tool.coverage.paths]
backend = ["src", "*/backend/src/"]
tests = ["tests", "*/backend/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]