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

google / yapf / 147 / 2
95%
master: 95%

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

06 Apr 2015 06:35PM UTC coverage: 91.472% (+1.4%) from 90.105%
147.2

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

1566 of 1712 relevant lines covered (91.47%)

0.91 hits per line

Source Files on job 147.2
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 147
  • Travis Job 147.2
  • ff57f2d7 on github
  • Prev Job for on master (#143.2)
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