ruff/crates/ty_project/src
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
..
db [ty] Add caching for submodule completion suggestions (#19408) 2025-07-18 11:54:27 -04:00
glob [ty] Track heap usage of salsa structs (#19790) 2025-08-12 13:28:44 +02:00
metadata [ty] Include python folder in environment.root if it exists (#20263) 2025-09-05 13:53:48 +02:00
watch [ty] Disallow std::env and io methods in most ty crates (#20046) 2025-08-22 11:13:47 -07:00
db.rs [ty] Remove duplicate global lint registry (#20053) 2025-08-22 19:43:12 -04:00
files.rs [ty] Track heap usage of salsa structs (#19790) 2025-08-12 13:28:44 +02:00
glob.rs [ty] Track heap usage of salsa structs (#19790) 2025-08-12 13:28:44 +02:00
lib.rs [ty] Remove duplicate global lint registry (#20053) 2025-08-22 19:43:12 -04:00
metadata.rs [ty] Track heap usage of salsa structs (#19790) 2025-08-12 13:28:44 +02:00
walk.rs [ty] Speedup project file discovery (#19913) 2025-08-14 19:38:39 +01:00
watch.rs Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00