-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I would like to use this package to align comments in Python. If I set Align By to # and Alignment Space Chars to #, I can modify the code below:
word = 'apple'
print('a' in word) # True
print('pp' in word) # True
print('' in word) # True
print('x' in word) # False
print('z' not in word) # True
print('a' not in word) # False
into:
word = 'apple'
print('a' in word) # True
print('pp' in word) # True
print('' in word) # True
print('x' in word) # False
print('z' not in word) # True
print('a' not in word) # False
This already looks really good, but the thing is that PEP8 recommends that there should be at least two spaces between a statement and an in-line comment. But using this package as I describe will always add a single space between statement and comment token. Would it be possible to add the option Add Two Spaces Prefix or something like this to this package?
Metadata
Metadata
Assignees
Labels
No labels