add project base
This commit is contained in:
65
backend/pyproject.toml
Normal file
65
backend/pyproject.toml
Normal file
@@ -0,0 +1,65 @@
|
||||
[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:",
|
||||
]
|
||||
Reference in New Issue
Block a user