google / google/yapf

Option for not adding spaces around binary operators

Open
#155 5 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
14k
Forks
904
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.