Conversation
…ssue of disappearing newline, no adding of useless newline at the end
|
@wpoely86: please review |
There was a problem hiding this comment.
shouldn't the first \s* not be outside the group?
There was a problem hiding this comment.
no, this is exactly what fixes the issue where the newline above toolchain was disappearing...
tweaking is not about making the easyconfigs adher to the style policy, so if there was whitespace before a key, leave it there
There was a problem hiding this comment.
wait, moving into named groups fixes the newline thing?
There was a problem hiding this comment.
No, including the \s* into the group, and using the group rather than hard replacing the key, that fixes it.
|
thank you for this; 1st visual review OK. |
There was a problem hiding this comment.
should there be this be
not (res.group('val') == val)to increase readability?
|
Test FAILed. |
|
Test PASSed. |
|
Going in, thanks for the review @wpoely86, @fgeorgatos! |
# tweakedcommentswithout this patch:
with this patch: