• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / yapf / 1495
93%
master: 95%

Build:
Build:
LAST BUILD BRANCH: format-tree
DEFAULT BRANCH: master
Ran 12 Mar 2021 09:34PM UTC
Jobs 1
Files 25
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1495

push

travis-ci

web-flow
Elaborate on based_on_style origins and use cases. (#896)

Several Google OSS projects I have contributed to have mistakenly assumed that they should use
the `"google"` style with `indent_width` manually set to `2`. Since Google does not follow the 
(public) Google Python Style Guide however, this creates numerous diffs between the internal 
formatter and `yapf --style=google`.

`yapf --style=yapf` does not perfectly match the internal formatter (e.g. for docstrings),
but it is much closer than `yapf --style={based_on_style: google, indent_width: 2}`,
particularly since it sets `SPLIT_BEFORE_EXPRESSION_AFTER_OPENING_PAREN=True`.

3392 of 3619 relevant lines covered (93.73%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1495.3 12 Mar 2021 09:34PM UTC 0
93.73
Travis Job 1495.3
Source Files on build 1495
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1495
  • 59a3b76d on github
  • Prev Build on main (#1494)
  • Next Build on main (#1496)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc