33 lines
798 B
TOML
33 lines
798 B
TOML
[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"
|