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

adrienverge / yamllint / 13717755307 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2025 09:31AM UTC
Files 65
Run time 1s
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

07 Mar 2025 09:30AM UTC coverage: 99.825% (+0.08%) from 99.749%
13717755307.1

push

github

adrienverge
quoted-strings: Fix crash with only-when-needed and escaped special characters

Prevent yamllint crash upon non-printable characters:

    $ yamllint -d 'rules: {quoted-strings: {required: only-when-needed}}' - <<<'key: "\u001b"'
    …
    yaml.reader.ReaderError: unacceptable character #x001b: special characters are not allowed
      in "<unicode string>", position 5

Accept escaped special characters in double quoted strings (`key:
"\u001b"`). But still throw exceptions for unescaped (embedded) special
characters, whether or not quotes are present.

When checking whether quotes are needed, assume that double-quoted
strings containing special characters have already been escaped (and
claim the quotes are in fact needed).

Fixes https://github.com/adrienverge/yamllint/issues/700

3999 of 4006 relevant lines covered (99.83%)

1.0 hits per line

Source Files on job 13717755307.1
  • Tree
  • List 65
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 13717755307
  • fb7fc98f on github
  • Prev Job for on master (#13698846502.5)
  • Next Job for on master (#13727301250.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