google / google/yapf

it keeps output really ugly style for dict

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

Description

# before yapf
cluster = {
"uuid": "4e3bb9d2d37611e9bb652a2ae2dbcce4",
"publish_threshold": 0.99,
"count": 333,
"id": 11888,
"model_tag": "package_餐饮具",
# after yapf
cluster = {
"uuid":
"4e3bb9d2d37611e9bb652a2ae2dbcce4",
"publish_threshold":
0.99,
"count":
333,
"id":
11888,
"model_tag":
"package_餐饮具",

~/projects 21:59:17
$ yapf --version
yapf 0.28.0

~/projects 21:59:20
$ python --version
Python 3.7.5

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.