| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
- find.rs: resolve_dot_venv returns Option<PathBuf>, use if-let to conditionally insert into search paths vec - environment_locations.rs: fix bug where ? operator on None would short-circuit the function, losing already-collected environments - path.rs: remove trailing whitespace in doc comments (fmt check) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…uation Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
This pull request introduces a new utility function for resolving Python virtual environments in a project directory, supporting both the traditional .venv directory and the PEP 832 convention where .venv is a file pointing to the environment. The function is thoroughly tested and integrated into multiple places in the codebase, replacing previous direct .venv path usage to improve compatibility and correctness.
New .venv resolution utility:
Integration into environment discovery: