yapf breaks Django template blocks
Open
- Dominant language
- Python
- Stars
- 14k
- Forks
- 904
- PR merge metrics
- No merged PRs in 30d
Description
`yapf` breaks Django template blocks according to the `column_limit` setting. For example, for `column_limit = 120` source line
`{% extends '_layouts/base.html' %} {% load thumbnail %} {% block title %}All Albums{% endblock title %} {% block headline %}`
converted with `yapf` to the
```
{% extends '_layouts/base.html' %} {% load thumbnail %} {% block title %}All Albums{% endblock title %} {% block headline
%}
```
It is wrong. `yapf` should never ever breaks Django template blocks
Contributor guide
Assessment
This issue has not been assessed yet.