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

sds / overcommit / 42762484609 / 9
100%
master: 91%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 10 Nov 2026 05:31AM UTC
Files 446
Run time 7s
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

10 Nov 2026 05:29AM UTC coverage: 71.835%. Remained the same
42762484609.9

push

github

web-flow
Document the case-sensitive KtLint hook name (#927)

The configuration in #787 uses `Ktlint`, while the built-in hook is
named `KtLint`. With `required_executable: ktlint`, the misspelled name
becomes an ad hoc hook. It receives Git's original hook arguments, so a
pre-commit invocation runs Ktlint with no filenames and scans unmodified
files too.

Document the exact built-in name, give a minimal working configuration,
and explain why the alternative spelling behaves differently. Strengthen
the existing KtLint success example to require passing the applicable
filenames to the executable.

Fixes #787 through a configuration correction; no runtime change is
necessary.

Local reproduction with Ktlint 1.8.0 downloaded into `/tmp` and a
disposable Git repository:

- Commit an invalid `Bad.kt`, then stage only a valid `Good.kt` and
Overcommit configuration.
- With the report's `Ktlint` spelling, a real commit fails and reports
the unchanged `Bad.kt`.
- Change only the hook name to `KtLint`: the real commit succeeds and
does not report `Bad.kt`.

Validation: existing KtLint specs pass with the stronger argument
assertion; RuboCop passes. Full CI is required before merging.

Final verification: [run
42762226697](https://github.com/sds/overcommit/actions/runs/42762226697)
passed all 38 checks, including Linux/Windows Ruby 3.3, 3.4, and 4.0,
lint, CI, and all coverage statuses. All 20 completed jobs report zero
annotations.

5198 of 7236 relevant lines covered (71.84%)

68.08 hits per line

Source Files on job ruby3.4-windows-shard1of5 - 42762484609.9
  • Tree
  • List 446
  • Changed 222
  • Source Changed 0
  • Coverage Changed 222
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 42762484609
  • 0b1e50ef on github
  • Prev Job for on main (#42761522336.7)
  • Next Job for on main (#42765158542.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc