[project] name = "ty_benchmark" version = "0.0.1" description = "Package for running end-to-end ty benchmarks" requires-python = ">=3.14" dependencies = [ # mypy is missing here because we need to install it into the project's virtual environment # for plugins to work. See `Venv.install`. # Pyright is missing because we install it with `npm` to avoid measuring the overhead # of the Python wrapper script (that lazily installs Pyright). "mslex>=1.3.0", "pyrefly>=0.43.1", "pytest-benchmark>=4.0.0", "pytest>=8.0.0", "pygls>=2.0.0", "lsprotocol>=2025.0.0", ] [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"