Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix a bug where multiline defaults or type annotations were dedented #26

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

jkittner
Copy link
Owner

We were not able to handle multi-line type annotation or multi-line defaults.

I was only able to fix this by also using the AST, which allowed me to find the beginning and ends of function definitions as well as of different argument types.

@jkittner jkittner merged commit 4dc025c into master Aug 28, 2024
6 checks passed
@jkittner jkittner deleted the multiline_default_type_annotation_fix branch August 28, 2024 15:41
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