-
Notifications
You must be signed in to change notification settings - Fork 17
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
More of a Q: Empty lines #67
Comments
Hey MementoRC, thanks a lot fo the PR(s) and the questions! I think the empty lines can also be preserved, but we need to be careful (a lot of tests of scenarios, especially with inner replaces) I'll try to take a look at them as soon as possible (hopefully tomorrow) |
@isidentical For the
|
I think it makes sense to have an option in both of them that takes |
This does not seem to be possible with the dataclass, that is for |
My preference is that the empty lines in the original code remains (as much as possible) in the modified code. There is a small change that enables this in the
PreciseUnparser
, however, it seems to be by design (connected comments vs non-connected in the test_ast.py) that empty lines are not considered. Is it better to create a newPreciseEmptyLinesUnparser
? or simply it is a matter of preference and no need to PR since my needs are met in my fork?The text was updated successfully, but these errors were encountered: