chore(#16): skeleton репозитория — README, Makefile, линтеры, зависимости

This commit is contained in:
2026-10-21 23:28:50 +03:00
parent f7936fa882
commit 63c4fa930d
8 changed files with 240 additions and 38 deletions
+32
View File
@@ -0,0 +1,32 @@
[project]
name = "awg-dash"
version = "0.0.1"
description = "AmneziaWG gateway with intelligent routing: REST API + Web UI + split-tunnel"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["ui", ".venv", "backend/tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B", "ASYNC", "S", "RUF"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"backend/tests/*" = ["S", "D"]
[tool.mypy]
python_version = "3.12"
mypy_path = "backend"
files = ["backend"]
strict = true
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["backend/tests"]
pythonpath = ["backend"]
addopts = "-q --cov=awg_agent --cov=awg_api --cov-report=term-missing --cov-fail-under=70"
asyncio_mode = "auto"