From d297bb4802aa4ccf66c5e65dfbdbaf0804381822 Mon Sep 17 00:00:00 2001 From: salmannawaz Date: Tue, 19 May 2026 13:57:28 +0500 Subject: [PATCH] chore: add tox.ini for local development Co-Authored-By: Claude Sonnet 4.6 --- tox.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tox.ini diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..81275db --- /dev/null +++ b/tox.ini @@ -0,0 +1,22 @@ +[tox] +envlist = lint, test, docs +requires = + tox-uv>=1 + +[testenv:lint] +runner = uv-venv-lock-runner +extras = dev +commands = + ruff check . + ruff format --check . + +[testenv:test] +runner = uv-venv-lock-runner +extras = test +commands = pytest --cov=src --cov-report=xml {posargs} + +[testenv:docs] +runner = uv-venv-lock-runner +extras = docs +commands = + make -C docs html