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

sds / overcommit / 736 / 5
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 09 Apr 2015 04:27AM UTC
Files 105
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

09 Apr 2015 04:19AM UTC coverage: 87.688%. Remained the same
jruby-19mode

push

travis-ci

sds
Change problem_on_unmodified_line default to `report`

When attempting to commit a file with hook warnings/errors on lines you
didn't modify, the previous default had Overcommit simply display these
problems as warnings.

However, in some situations this would lead to problems that were
introduced by a commit to still be treated as a warning. For example,
the `Rubocop` `MethodLength` cop reports an error on the method
definition line, but you typically add lines after that line so you may
only get a warning from Overcommit instead of an error.

Change the default to `report` will prevent these sorts of errors from
sneaking in, and results in Overcommit's default `PreCommit`
configuration acting more like its `RunAll` context, where all lines are
considered.

Users will still be able to switch back to `warn` as they desire, even
enabling it wholesale for all pre-commit hooks by setting it in the
`ALL` hook.

1695 of 1933 relevant lines covered (87.69%)

11.39 hits per line

Source Files on job 736.5 (jruby-19mode)
  • Tree
  • List 0
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 736
  • Travis Job 736.5
  • ded2b467 on github
  • Prev Job for jruby-19mode on master (#735.5)
  • Next Job for jruby-19mode on master (#737.5)
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