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

adrienverge / yamllint / 1124 / 11
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2020 10:54AM UTC
Files 29
Run time 6s
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

15 Dec 2020 10:52AM UTC coverage: 97.5% (-0.4%) from 97.917%
REMOVE_LOCALES=false

push

travis-ci-com

web-flow
Allow only non-empty brackets/braces

We'd like to disallow brackets and braces in our YAML, but there's a
catch: the only way to describe an empty array or hash in YAML is to
supply an empty one (`[]` or `{}`). Otherwise, the value will be null.

This commit adds a `non-empty` option to `forbid` for brackets and
braces. When it is set, all flow and sequence mappings will cause errors
_except_ for empty ones.

1131 of 1160 relevant lines covered (97.5%)

0.98 hits per line

Source Files on job 1124.11 (REMOVE_LOCALES=false)
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 999
  • Travis Job 1124.11
  • ee4d163f on github
  • Prev Job for REMOVE_LOCALES=false on master (#1118.1)
  • Next Job for REMOVE_LOCALES=false on master (#1142.1)
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