Packages / openSUSE Leap 15.6 / Source / python-scspell3k

Source Package: python-scspell3k (2.2-bp156.4.1)

A conservative interactive spell checker for source code

Scspell is a spell checker for source code. This is an unofficial fork (of https://launchpad.net/scspell) that runs on both Python 2 and 3. Scspell does not try to be particularly smart--rather, it does the simplest thing that can possibly work: 1. All alphanumeric strings (strings of letters, numbers, and underscores) are spell-checked tokens. 2. Each token is split into one or more subtokens. Underscores and digits always divide tokens, and capital letters will begin new subtokens. In other words, ``some_variable`` and ``someVariable`` will both generate the subtoken list {``some``, ``variable``}. 3. All subtokens longer than three characters are matched against a set of dictionaries, and a match failure prompts the user for action. When matching against the included English dictionary, *prefix matching* is employed; this choice permits the use of truncated words like ``dict`` as valid subtokens. When applied to code written in most popular programming languages while using typical naming conventions, this algorithm will usually catch many errors without an annoying false positive rate. In an effort to catch more spelling errors, Scspell is able to check each file against a set of dictionary words selected *specifically for that file*. Up to three different sub-dictionaries may be searched for any given file: 1. A natural language dictionary. (Scspell provides an American English dictionary as the default.) 2. A programming language-specific dictionary, intended to contain oddly-spelled keywords and APIs associated with that language. (Scspell provides small default dictionaries for a number of popular programming languages.) 3. A file-specific dictionary, intended to contain uncommon strings which are not likely to be found in more than a handful of unique files.

Package information

Homepage
[https://github.com/myint/scspell]
License
GPL-2.0-only
Downstream-Paketbetreuer
Unbekannt: in der indizierten Quelle nicht gemeldet

The following binary packages are built from this source package:

Bekannte Sicherheitslücken

Keine passenden Meldungen in den erfassten Quellen.

Zuletzt synchronisiert:

[CVE-Katalog]

Quellen

  • Authoritative source; repository metadata signature verified

    Signaturnachweis

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable