Files
ruff/scripts/ty_benchmark/pyproject.toml
Alex Waygood bfd65c4215 Dogfood ty on the scripts directory (#21617)
## Summary

This PR sets up CI jobs to run ty from the `main` branch on the files
and subdirectories in our `scripts` directory

## Test Plan

Both these commands pass for me locally:
- `uv run --project=./scripts cargo run -p ty check --project=./scripts`
- `uv run --project=./scripts/ty_benchmark cargo run -p ty check
--project=./scripts/ty_benchmark`
2025-11-24 23:13:44 +00:00

26 lines
511 B
TOML

[project]
name = "ty_benchmark"
version = "0.0.1"
description = "Package for running end-to-end ty benchmarks"
requires-python = ">=3.12"
dependencies = ["mypy", "pyright"]
[project.scripts]
benchmark = "benchmark.run:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/benchmark"]
[tool.ruff.lint]
ignore = [
"E501", # We use ruff format
]
[tool.ty.rules]
possibly-unresolved-reference = "error"
division-by-zero = "error"