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

adrienverge / yamllint / 667
98%
master: 100%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 09 Jan 2019 09:05PM UTC
Jobs 6
Files 29
Run time 6min
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
667

push

travis-ci

adrienverge
config: Do not require all rule options to be set

Before, it was required to specify all the options when customizing a
rule. For instance, one could use `empty-lines: enable` or `empty-lines:
{max: 1, max-start: 2, max-end: 2}`, but not just `empty-lines: {max:
1}` (it would fail with *invalid config: missing option "max-start" for
rule "empty-lines"*).

This was a minor problem for users, but it prevented the addition of new
options to existing rules, see [1] for an example. If a new option was
added, updating yamllint for all users that customize the rule would
produce a crash (*invalid config: missing option ...*).

To avoid that, let's embed default values inside the rules themselves,
instead of keeping them in `conf/default.yaml`.

[1]: https://github.com/adrienverge/yamllint/pull/151

991 of 1008 relevant lines covered (98.31%)

5.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 667.1 09 Jan 2019 09:10PM UTC 0
98.31
Travis Job 667.1
2 667.2 09 Jan 2019 09:05PM UTC 0
97.92
Travis Job 667.2
3 667.3 09 Jan 2019 09:06PM UTC 0
97.92
Travis Job 667.3
4 667.4 09 Jan 2019 09:05PM UTC 0
97.92
Travis Job 667.4
5 667.5 09 Jan 2019 09:05PM UTC 0
97.92
Travis Job 667.5
6 667.6 09 Jan 2019 09:12PM UTC 0
97.92
Travis Job 667.6
Source Files on build 667
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #667
  • aaa76be3 on github
  • Prev Build on feat/default-implicit-conf (#666)
  • Next Build on feat/default-implicit-conf (#669)
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

© 2025 Coveralls, Inc