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

google / yapf / 1460
95%

Build:
DEFAULT BRANCH: master
Ran 20 Sep 2020 02:25AM UTC
Jobs 6
Files 22
Run time 23s
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
1460

push

travis-ci

web-flow
Allow `lines` parameter to fix whitespace between statements. (#864)

* Fix split penalty for single-argument function calls with generators.

The previous logic considered all components of the generator in a
single-argument call such as 'f(a for a in x)' to be strongly connected
like a normal single-argument call (e.g. 'f(a_var)'). This caused
formatting irregularities in these cases.

This change retains normal split penalties in the single-argument
generator case.

* Allow `lines` parameter to fix whitespace between statements.

The previous logic largely ignored `lines` values that were not part of
statements. This means that yapf required a statement to be formatted to
make whitespace-only changes.

This logic tweak allows `lines` to be taken into account even when the
adjacent statements are disabled (i.e. not in `lines`).

* Remove chromium style from test.

1 of 1 new or added line in 1 file covered. (100.0%)

3377 of 3506 relevant lines covered (96.32%)

5.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1460.1 20 Sep 2020 02:25AM UTC 0
94.78
Travis Job 1460.1
2 1460.2 20 Sep 2020 02:26AM UTC 0
94.81
Travis Job 1460.2
3 1460.3 20 Sep 2020 02:26AM UTC 0
95.64
Travis Job 1460.3
4 1460.4 20 Sep 2020 02:25AM UTC 0
95.64
Travis Job 1460.4
7 1460.7 20 Sep 2020 02:26AM UTC 0
95.6
Travis Job 1460.7
8 1460.8 20 Sep 2020 02:25AM UTC 0
95.61
Travis Job 1460.8
Source Files on build 1460
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1460
  • 3ee39849 on github
  • Prev Build on master (#1454)
  • Next Build on master (#1463)
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