ruff/crates/red_knot_project
Matthew Mckee cdafd8e32b
Allow discovery of venv in VIRTUAL_ENV env variable (#16853)
## Summary

Fixes #16744 

Allows the cli to find a virtual environment from the VIRTUAL_ENV
environment variable if no `--python` is set

## Test Plan

Manual testing, of:
- Virtual environments explicitly activated using `source .venv/bin/activate`
- Virtual environments implicilty activated via `uv run`
- Broken virtual environments with no `pyvenv.cfg` file
2025-03-20 13:55:35 +00:00
..
resources/test/corpus Rename `red_knot_workspace` to `red_knot_project` (#15615) 2025-01-20 14:02:36 +01:00
src Allow discovery of venv in VIRTUAL_ENV env variable (#16853) 2025-03-20 13:55:35 +00:00
tests [red-knot] use fixpoint iteration for all cycles (#14029) 2025-03-12 12:41:40 +00:00
Cargo.toml [red-knot] Fallback to `requires-python` if no `python-version` is specified (#16028) 2025-02-12 11:47:59 +00:00