ruff/crates/ty/tests/cli
Aria Desires 1d2128f918
[ty] distinguish base conda from child conda (#19990)
This is a port of the logic in https://github.com/astral-sh/uv/pull/7691

The basic idea is we use CONDA_DEFAULT_ENV as a signal for whether
CONDA_PREFIX is just the ambient system conda install, or the user has
explicitly activated a custom one. If the former, then the conda is
treated like a system install (having lowest priority). If the latter,
the conda is treated like an activated venv (having priority over
everything but an Actual activated venv).

Fixes https://github.com/astral-sh/ty/issues/611
2025-08-20 09:07:42 -04:00
..
config_option.rs [ty] Allow overriding rules for specific files (#18648) 2025-06-15 14:27:39 +01:00
exit_code.rs [ty] Split CLI tests into multiple files (#18537) 2025-06-07 16:43:28 +00:00
file_selection.rs [ty] resolve file symlinks in src walk (#19674) 2025-08-01 22:52:04 +02:00
main.rs Move concise diagnostic rendering to ruff_db (#19398) 2025-07-23 11:43:32 -04:00
python_environment.rs [ty] distinguish base conda from child conda (#19990) 2025-08-20 09:07:42 -04:00
rule_selection.rs [ty] Implement streaming for workspace diagnostics (#19657) 2025-08-04 09:34:29 +00:00