[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1115378: lintian: false positive very-long-line-length-in-source-file for Markdown files



On 9/16/25 4:05 AM, Rafael Laboissière wrote:
Package: lintian
Version: 2.124.0
Severity: normal

Dear Maintainer,

When checking the octave-statistics package, Lintian complains with:

     X: octave-statistics source: very-long-line-length-in-source-file 632 > 512 [README.md:17]

The README.md contains documentation in the Markdown format. It is
usual for Markdown format to have each paragraph in a long line.

Would it be possible to exclude Markdown files (and other formats for
documentation files, eventually) from the
very-long-line-length-in-source-file check?

Best,

Rafael Laboissière


Hello,

This tag is currently marked as "Experimental" (i.e. please don't use that in prod) because it generates so much false-positives.

It uses a "blocklist" model instead of an "allowlist" one, which I think would be more suitable.

As such, I'm not sure adding more restrictions is the way to go...

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   pollo@debian.org / veronneau.org
  ⠈⠳⣄


Reply to: