ruff/crates/ty/tests/cli
David Peter 7ee863b6d7
[ty] Include python folder in environment.root if it exists (#20263)
## Summary

I felt it was safer to add the `python` folder *in addition* to a
possibly-existing `src` folder, even though the `src` folder only
contains Rust code for `maturin`-based projects. There might be
non-maturin projects where a `python` folder exists for other reasons,
next to a normal `src` layout.

closes https://github.com/astral-sh/ty/issues/1120

## Test Plan

Tested locally on the egglog-python project.
2025-09-05 13:53:48 +02:00
..
config_option.rs [ty] Allow overriding rules for specific files (#18648) 2025-06-15 14:27:39 +01:00
exit_code.rs
file_selection.rs [ty] resolve file symlinks in src walk (#19674) 2025-08-01 22:52:04 +02:00
main.rs [ty] Add GitLab output format (#20155) 2025-09-03 09:08:12 -04:00
python_environment.rs [ty] Include python folder in environment.root if it exists (#20263) 2025-09-05 13:53:48 +02:00
rule_selection.rs [ty] Add search paths info to unresolved import diagnostics (#20040) 2025-08-26 11:01:16 -04:00