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

google / yapf / 149
95%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2015 08:07PM UTC
Jobs 2
Files 20
Run time 6s
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
149

Pull #72

travis-ci

sbc100
Improve handling of filenames on the command line

Don't call GetCommandLineFiles unless there are positional
arguments (args.files), and only pass the positional parameters
(otherwise GetCommandLineFiles ends up processing all the args
as well).

Prior to this change if you run 'yapf -i foo.c' it will give you
the unhelpful error:
'cannot use --in_place or --diff flags when reading from stdin'

Add a unit test for this case. Would add here but would prefer
to use 'mock' and don't see a dependency on 'mock' yet.

Also, give a useful error message when positional paramters
are specified but not arguments were given.
Pull Request #72: Improve handling of filenames on the command line

8 of 8 new or added lines in 2 files covered. (100.0%)

1580 of 1712 relevant lines covered (92.29%)

1.83 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
yapf/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 149.1 06 Apr 2015 08:07PM UTC 0
91.59
Travis Job 149.1
2 149.2 06 Apr 2015 08:07PM UTC 0
91.47
Travis Job 149.2
Source Files on build 149
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #149
  • Pull Request #72
  • PR Base - master (#143)
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