From afe3236e90d6eb2f3aa608b3453d82fc42a02c38 Mon Sep 17 00:00:00 2001 From: Aaron Pham Date: Thu, 15 May 2025 01:00:43 -0400 Subject: [PATCH] [Chore] astral's ty (#18116) Signed-off-by: Aaron Pham --- docs/source/getting_started/quickstart.md | 4 ++-- pyproject.toml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/source/getting_started/quickstart.md b/docs/source/getting_started/quickstart.md index 25189b006c260..298ba59f7d8b6 100644 --- a/docs/source/getting_started/quickstart.md +++ b/docs/source/getting_started/quickstart.md @@ -19,8 +19,8 @@ If you are using NVIDIA GPUs, you can install vLLM using [pip](https://pypi.org/ It's recommended to use [uv](https://docs.astral.sh/uv/), a very fast Python environment manager, to create and manage Python environments. Please follow the [documentation](https://docs.astral.sh/uv/#getting-started) to install `uv`. After installing `uv`, you can create a new Python environment and install vLLM using the following commands: ```console -uv venv myenv --python 3.12 --seed -source myenv/bin/activate +uv venv --python 3.12 --seed +source .venv/bin/activate uv pip install vllm ``` diff --git a/pyproject.toml b/pyproject.toml index 46cf7a801fd6f..c3d0440f32b5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -170,3 +170,9 @@ plugins.md013.enabled = false # line-length plugins.md041.enabled = false # first-line-h1 plugins.md033.enabled = false # inline-html plugins.md024.allow_different_nesting = true # no-duplicate-headers + +[tool.ty] +respect-ignore-files = true + +[tool.ty.environment] +python = "./.venv"