ruff/crates/ruff_python_parser
Dhruv Manilawala e91ffe3e93
Consume the escaped Windows newline (`\r\n`) for `FStringMiddle` (#7722)
## Summary

This PR fixes a bug where if a Windows newline (`\r\n`) character was
escaped, then only the `\r` was consumed and not `\n` leading to an
unterminated string error.

## Test Plan

Add new test cases to check the newline escapes.

fixes: #7632
2023-10-01 07:58:20 +05:30
..
src Consume the escaped Windows newline (`\r\n`) for `FStringMiddle` (#7722) 2023-10-01 07:58:20 +05:30
Cargo.toml Add support for PEP 701 (#7376) 2023-09-29 02:55:39 +00:00
build.rs Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00