build: add pyproject.toml with ruff lint/format config and requirements-dev

This commit is contained in:
yy-fighting 2026-07-22 03:40:39 +00:00
parent 3ba4968971
commit b6dab8e139
2 changed files with 31 additions and 0 deletions

28
pyproject.toml Normal file
View File

@ -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"

3
requirements-dev.txt Normal file
View File

@ -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