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

sds / haml-lint / 24354176792 / 29
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2026 04:22PM UTC
Files 202
Run time 24s
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

13 Apr 2026 04:19PM UTC coverage: 96.813% (+0.01%) from 96.803%
24354176792.29

push

github

web-flow
Include CLI flags in the auto-gen-config heading (#640)

* Include CLI flags in the auto-gen-config heading

When running `haml-lint --auto-gen-config` with additional flags like
`--auto-gen-exclude-limit`, the generated `.haml-lint_todo.yml` heading
now reflects the actual command used, rather than always showing just
`haml-lint --auto-gen-config`.

This follows the same approach RuboCop uses: reconstruct the command
from parsed options rather than hardcoding it. As a bonus, the
timestamp is now captured at generation time rather than class load
time.

Partial fix for #388 — lays the groundwork for `--regenerate-todo`,
`--[no-]auto-gen-timestamp`, and `--[no-]offense-counts`.

* Extract DEFAULT_EXCLUDE_LIMIT constant

The default auto-gen-exclude-limit of 15 was duplicated as a magic
number in both cli.rb and disabled_config_reporter.rb. Extract it
to a single constant on DisabledConfigReporter so the two call sites
stay in sync.

5528 of 5710 relevant lines covered (96.81%)

327.72 hits per line

Source Files on job ruby3.4-haml6.2-ubuntu - 24354176792.29
  • Tree
  • List 202
  • Changed 100
  • Source Changed 2
  • Coverage Changed 100
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24354176792
  • b68d6a94 on github
  • Prev Job for on main (#24354148190.48)
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