mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-13 09:12:40 +00:00
## 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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||