ruff/crates/ruff_python_codegen/src
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
..
generator.rs Generator should add a newline before type statement (#11720) 2024-06-03 18:44:21 +05:30
lib.rs Maintain synchronicity between the lexer and the parser (#11457) 2024-06-03 18:23:50 +05:30
stylist.rs Avoid depth counting when detecting indentation (#11947) 2024-06-20 10:42:35 +05:30