This commit is contained in:
Azamat 2026-03-20 12:36:30 +03:00
commit a5577c1501
9 changed files with 906 additions and 0 deletions

66
pyproject.toml Normal file
View file

@ -0,0 +1,66 @@
[project]
name = "web-python-skelet"
version = "0.0.1"
description = ""
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.116.1",
"opentelemetry-api>=1.31.1",
"opentelemetry-exporter-otlp-proto-http>=1.31.1",
"opentelemetry-instrumentation-fastapi>=0.52b1",
"opentelemetry-sdk>=1.31.1",
"PyYAML>=6.0.2",
"uvicorn>=0.35.0",
]
[dependency-groups]
dev = [
"mypy>=1.18.2",
"pytest>=8.4.2",
"ruff>=0.13.1",
]
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "INFO"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
[tool.ruff.lint]
select = ["F", "N", "I", "E", "W", "PL"]
ignore = ["W191", "E501", "PLR2004", "PLR0913"]
[tool.ruff.format]
exclude = ["list"]
quote-style = "single"