ruff/crates/ruff_python_codegen/src
Brent Westbrook cffd1866ce
Preserve raw string prefix and escapes (#15694)
## Summary

Fixes #9663 and also improves the fixes for
[RUF055](https://docs.astral.sh/ruff/rules/unnecessary-regular-expression/)
since regular expressions are often written as raw strings.

This doesn't include raw f-strings.

## Test Plan

Existing snapshots for RUF055 and PT009, plus a new `Generator` test and
a regression test for the reported `PIE810` issue.
2025-01-23 12:12:10 -05:00
..
generator.rs Preserve raw string prefix and escapes (#15694) 2025-01-23 12:12:10 -05:00
lib.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00
stylist.rs Extract LineIndex independent methods from Locator (#13938) 2024-10-28 07:53:41 +00:00