first comit

This commit is contained in:
Johan
2025-12-16 14:18:21 +01:00
commit 8c90d5ad59
152 changed files with 1109 additions and 0 deletions

52
pyproject.toml Normal file
View File

@@ -0,0 +1,52 @@
[project]
name = "tp-flask"
version = "0.1.0"
description = "TP flask"
authors = [
{name = "Your Name",email = "you@example.com"}
]
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3.13",
]
keywords = ["flask", "web"]
exclude = [
{ path = "tests", format = "wheel" }
]
requires-python = ">=3.13"
[tool.poetry]
package-mode = false
packages = [{include = "app", from = "src"}]
[tool.poetry.dependencies]
python = "^3.13"
flask = "^3.1.1"
[tool.poetry.group.dev.dependencies]
pytest = "^8.4.1"
pytest-cov = "^6.2.1"
coverage = { version="*", extras=["toml"]}
[tool.black]
line-length = 120
[tool.pycln]
all = true
[tool.isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.pytest.ini_options]
pythonpath = ["src"]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"