chore(#16): skeleton репозитория — README, Makefile, линтеры, зависимости
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user