Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,11 @@ The Python environment may be explicitly configured using the
[`--python`](./reference/cli.md#ty-check--python) flag.

When setting the environment explicitly, non-virtual environments can be provided.

## PYTHONPATH

Python supports setting the `PYTHONPATH` environment variable to control module lookup
per-environment.

If ty should read this environment variable for lookup paths
[`environment.read-python-path`](./reference/configuration.md#read-python-path) should be set to true.
16 changes: 16 additions & 0 deletions docs/reference/configuration.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.