Skip to content

Fixed nesting depth calculation#50

Open
jgchris wants to merge 1 commit into
devfrom
nesting-depth-update
Open

Fixed nesting depth calculation#50
jgchris wants to merge 1 commit into
devfrom
nesting-depth-update

Conversation

@jgchris
Copy link
Copy Markdown

@jgchris jgchris commented Jan 28, 2026

This changes the max indent check from a formatting check (how many indents) to a logical nesting check (how much nesting). This fixes structures like

foo_bar = run_something(arg,
                        arg2,
                        arg3.blah_blah_blah
                        arg4
                        )

So that it doesn't think that's too indented.

This was 100% vibecoded and untested cause idk how to run this locally. We don't have to merge it if we like it currently, just thought I'd put it up cause it's so simple (and would make readability better imo please I'm just a humble indent-lover)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant