-
Notifications
You must be signed in to change notification settings - Fork 896
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
Option for not adding spaces around binary operators #155
Comments
There's no option for doing that at the moment. It might be relatively easy to add it though. |
Usually you don't want spaces around
potentially you even want parenthesis to make it clearer still:
See pep8 suggestions about this:
The latter is a bit of a strange one IMO. |
Ah yes, one of the PEPs that I don't like. :-) I can work on it soon-ish. |
Any updates on this besides using |
I haven't had too much time to work on it lately. |
Sometimes in the scientific code I write it helps readability if I can group chunks of an equation together by not adding spaces around all binary operators (
*
,+
,-
,\
,**
).Is there a way to tell
yapf
not to add spaces around these operators?The text was updated successfully, but these errors were encountered: