ruff/crates/ruff_python_index
Charlie Marsh 88b984e885
Avoid detecting continuations at non-start-of-line (#6219)
## Summary

Previously, given:

```python
a = \
  5;
```

When detecting continuations starting at the offset of the `;`, we'd
flag the previous line as a continuation. We should only flag a
continuation if there isn't leading content prior to the offset.

Closes https://github.com/astral-sh/ruff/issues/6214
2023-08-01 00:20:29 -04:00
..
src Avoid detecting continuations at non-start-of-line (#6219) 2023-08-01 00:20:29 -04:00
Cargo.toml Pull in RustPython parser (#6099) 2023-07-27 09:29:11 +00:00