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

adrienverge / yamllint / 27767771724
100%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2026 02:47PM UTC
Jobs 6
Files 67
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

18 Jun 2026 02:46PM UTC coverage: 99.816% (+0.001%) from 99.815%
27767771724

push

github

web-flow
linter: Report non-printable characters as a syntax error

Prevent yamllint crash upon unescaped (embedded) non-printable
characters:

    $ printf 'key: val\000ue\n' | yamllint -
    …
    yaml.reader.ReaderError: unacceptable character #x0000: special characters are not allowed
      in "<unicode string>", position 8

PyYAML raises a ReaderError for control characters such as NUL or DEL.
It is a YAMLError but, unlike the parser/scanner errors yamllint already
handles, not a MarkedYAMLError, so it escaped get_syntax_error() and
crashed the whole run. The same input also broke the token generator,
since BaseLoader() itself raises the error before any token is produced.

Catch ReaderError in get_syntax_error() and derive its line/column from
the flat buffer position, and tolerate it in token_or_comment_generator()
the same way ScannerError is, so cosmetic rules still run on the
printable lines. Such input is now reported as a regular syntax error.

19 of 19 new or added lines in 4 files covered. (100.0%)

4337 of 4345 relevant lines covered (99.82%)

5.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27767771724.1 18 Jun 2026 02:47PM UTC 67
99.82
2 27767771724.2 18 Jun 2026 02:47PM UTC 67
99.82
3 27767771724.3 18 Jun 2026 02:47PM UTC 67
99.82
4 27767771724.4 18 Jun 2026 02:47PM UTC 67
99.82
5 27767771724.5 18 Jun 2026 02:47PM UTC 67
99.82
6 27767771724.6 18 Jun 2026 02:48PM UTC 67
99.82
Source Files on build 27767771724
  • Tree
  • List 67
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 122853fd on github
  • Prev Build on master (#22297414314)
  • Next Build on master (#28223239710)
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