Skip to content

false positive SIG305 for parenthesized abbreviations #959

Description

@jshwi

SIG305 fires incorrectly in two cases handled by the sentence tokenizer:

  • Abbreviations inside parentheses, e.g. (e.g. debug mode) — the last token before the split is (e.g., which is not recognised as a known abbreviation.
  • RST directives such as .. note:: — the tokenizer splits on the space after the second dot.

The tokenizer should strip leading punctuation before the abbreviation lookup and avoid splitting on .. sequences.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions