add(templates): base models and dto for girasol backend
Some checks failed
Deploy Girasol / deploy (push) Has been cancelled
Some checks failed
Deploy Girasol / deploy (push) Has been cancelled
This commit is contained in:
72
backend/pyproject.toml
Normal file
72
backend/pyproject.toml
Normal file
@@ -0,0 +1,72 @@
|
||||
[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",
|
||||
"pytest",
|
||||
"pytest-cov",
|
||||
"pytest-mock",
|
||||
"pylint",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Documentation = ""
|
||||
Issues = ""
|
||||
Source = ""
|
||||
|
||||
[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"]
|
||||
Reference in New Issue
Block a user