You should now always specify line numbers unless a code occurs an
unreasonable amount of times (off the top of my head like Decameron for
example). This way, if a lint test improves in the future, it could
catch other errors in the file that it might not have previously.
On 3/3/26 11:14 PM, Vince wrote:
> Should our /general/ practice be as before, i.e. without lines to
> include the entire file, or should we /generally/ use lines if the count
> with a file is low? IOW, what should be our default?
>
>> On Mar 3, 2026, at 1:36 PM, 'Alex Cabal' via Standard Ebooks
>> <
standar...@googlegroups.com> wrote:
>>
>> This is a major version release. To upgrade, run `pipx upgrade
>> standardebooks`.
>>
>> Highlights:
>>
>> - `se-lint-ignore.xml` now recognizes line numbers, so specific lines
>> can be ignored instead of the whole file. Additionally, the syntax has
>> changed slightly: codes are now *attributes* of <ignore> and not
>> *children*. <ignore> may have zero or more <line> children; if there
>> are none, then entire file is ignored, but if there are any lines then
>> only those lines are ignored. For example:
>>
>> <se-lint-ignore>
>> <file path="chapter-7.xhtml">
>> <ignore code="t-033">
>> <line>12</line>
>> <line>17</line>
>> <reason>Matched text is as-is in print.</reason>
>> </ignore>
>> </file>
>> </se-lint-ignore>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Standard Ebooks" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
standardebook...@googlegroups.com
> <mailto:
standardebook...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/
> standardebooks/417EAC40-3B2D-4571-804D-B66C20B909C2%
40letterboxes.org
> <
https://groups.google.com/d/msgid/
> standardebooks/417EAC40-3B2D-4571-804D-B66C20B909C2%
40letterboxes.org?
> utm_medium=email&utm_source=footer>.