70 lines
1.5 KiB
TOML
70 lines
1.5 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[standard]",
|
|
"sqlmodel",
|
|
"psycopg2-binary",
|
|
"PyJWT",
|
|
"cryptography",
|
|
"requests",
|
|
"weasyprint",
|
|
]
|
|
|
|
[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 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:",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src"]
|
|
include = ["src/**/*.py"] |