From b6dab8e139f7f72f76a1814cb619fe449b44b0e1 Mon Sep 17 00:00:00 2001 From: yy-fighting Date: Wed, 22 Jul 2026 03:40:39 +0000 Subject: [PATCH] build: add pyproject.toml with ruff lint/format config and requirements-dev --- pyproject.toml | 28 ++++++++++++++++++++++++++++ requirements-dev.txt | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 pyproject.toml create mode 100644 requirements-dev.txt diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..aa3cf19 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,28 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[project] +name = "sskj-bench" +version = "0.1.0" +description = "Multi-platform LLM serving benchmark framework (sglang/vllm on P800/H20/H200/RTX 6000D)" +requires-python = ">=3.10" +dependencies = [] + +[project.optional-dependencies] +dev = [ + "ruff>=0.5.0", +] + +[tool.ruff] +line-length = 120 +target-version = "py310" +extend-exclude = ["envs", "experiments/*/results", "experiments/*/runtime", ".tmp_charts"] + +[tool.ruff.lint] +select = ["E", "F", "W", "I", "UP", "B", "SIM", "C4"] +ignore = ["E501"] + +[tool.ruff.format] +quote-style = "double" +indent-style = "space" \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..8922314 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,3 @@ +# Dev tooling for sskj benchmark repo. +# Runtime Python code uses only the standard library (no runtime deps). +ruff>=0.5.0