google / google/yapf

Blank line between dictionary entries are removed

Open
#1,028 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

yapf 0.32.0

### Input
```python3
apache_license_definitions = {
'License':
'the terms and conditions for use, reproduction and distribution',

'Licensor':
'the copyright owner or entity authorized by the copyright owner',
}
```
Note the single blank line before the `'Licensor'`.

### Formatted result with `yapf --no-local-style`
``` python3
apache_license_definitions = {
'License':
'the terms and conditions for use, reproduction and distribution',
'Licensor':
'the copyright owner or entity authorized by the copyright owner',
}
```

### Expected
No changes with input file

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.