Yapf doesn't diff trailing newline added
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
Given:
```python
x
\ No newline at end of file
```
`yapf --diff` reports nothing
```
$ yapf --diff file.py
$
```
however, running `--in-place`, `yapf` adds a newline.
Contributor guide
Assessment
This issue has not been assessed yet.