ruff/crates/ruff_python_semantic
Dhruv Manilawala d02b1069b5
Add semantic model flag when inside f-string replacement field (#10766)
## Summary

This PR adds a new semantic model flag to indicate that the checker is
inside an f-string replacement field. This will be used to ignore
certain checks if the target version doesn't support a specific feature
like PEP 701.

fixes: #10761 

## Test Plan

Add a test case from the raised issue.
2024-04-04 09:08:48 +05:30
..
src Add semantic model flag when inside f-string replacement field (#10766) 2024-04-04 09:08:48 +05:30
Cargo.toml refactor: Use QualifiedName for Imported::call_path (#10214) 2024-03-06 09:55:59 +01:00