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

adrienverge / yamllint / 13717755307
100%

Build:
DEFAULT BRANCH: master
Ran 07 Mar 2025 09:31AM UTC
Jobs 5
Files 65
Run time 1min
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%. Remained the same
13717755307

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

15 of 15 new or added lines in 2 files covered. (100.0%)

3999 of 4006 relevant lines covered (99.83%)

4.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13717755307.1 07 Mar 2025 09:31AM UTC 65
99.83
2 13717755307.2 07 Mar 2025 09:31AM UTC 65
99.83
3 13717755307.3 07 Mar 2025 09:31AM UTC 65
99.75
4 13717755307.4 07 Mar 2025 09:31AM UTC 65
99.83
5 13717755307.5 07 Mar 2025 09:31AM UTC 65
99.83
Source Files on build 13717755307
  • Tree
  • List 65
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fb7fc98f on github
  • Prev Build on master (#13698846502)
  • Next Build on master (#13727301250)
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