ruff/crates/ruff_python_codegen
Dhruv Manilawala a26bd01be2
Avoid depth counting when detecting indentation (#11947)
## Summary

This PR avoids the `depth` counter when detecting indentation from
non-logical lines because it seems to never be used. It might have been
a leftover when the logic was added originally in #11608.

## Test Plan

`cargo insta test`
2024-06-20 10:42:35 +05:30
..
src Avoid depth counting when detecting indentation (#11947) 2024-06-20 10:42:35 +05:30
Cargo.toml Maintain synchronicity between the lexer and the parser (#11457) 2024-06-03 18:23:50 +05:30