google / google/yapf

Strange formatting

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

Description

See the result of the following snippet. It's a waste of space.

```python
def a():
if True:
bbbbbbbbbb = [[0, 16], [1, 15], [2, 14], [3, 13], [4, 12], [5, 11],
[6, 10], [7, 9], [17, 26], [18, 25], [19, 24], [20, 23],
[21, 22], [31, 35], [32, 34], [36, 45], [37,
44], [38, 43],
[39, 42], [40, 47], [41, 46], [48, 54], [49,
53], [50, 52],
[61, 63], [60, 64], [67, 65], [58, 56], [59, 55]]
```

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.