# ty: Add support for using venv-installed binary \(\#47029\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c0bfba85c5a948a8af7c2f6bef221e4a0700488f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c0bfba85c5a948a8af7c2f6bef221e4a0700488f

Requested commit: c0bfba85c5a948a8af7c2f6bef221e4a0700488f

Commit: c0bfba85c5a948a8af7c2f6bef221e4a0700488f

Tree: 9c2d58f0f1ab9981c2c0dc823268808078722417

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
ty: Add support for using venv-installed binary (#47029)

This aligns ty's behavior with ruff by checking for binaries in the
following order:

1. venv (from the Python toolchain's bin directory)
2. PATH
3. Zed-installed

Release Notes:

- ty: Added support for using venv-installed binary
```

## Parents

- [e05a577fd3669e0064e8f59adb735e3597f116c3](https://git.cafe/gitcafe/zed/commit/e05a577fd3669e0064e8f59adb735e3597f116c3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c0bfba85c5a948a8af7c2f6bef221e4a0700488f?format=markdown)
