Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-scspell3k | Distribution: openSUSE Tumbleweed |
Version: 2.2 | Vendor: openSUSE |
Release: 4.21 | Build date: Tue Jun 9 08:56:17 2020 |
Group: Unspecified | Build host: reproducible |
Size: 1155552 | Source RPM: python-scspell3k-2.2-4.21.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/myint/scspell | |
Summary: 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.
GPL-2.0-only
* Tue Jun 09 2020 Tomáš Chvátal <tchvatal@suse.com> - Drop dependency on cram as we remove it due to build fail * Tue May 19 2020 Petr Gajdos <pgajdos@suse.com> - %python3_only -> %python_alternative * Thu Apr 23 2020 Tomáš Chvátal <tchvatal@suse.com> - Make sure the tests do not execute python2 * Thu Feb 14 2019 John Vandenberg <jayvdb@gmail.com> - Activate tests - Update to v2.2 * Add support for Python 3.6, and removed 3.2 and 3.3 * Fix bugs with Windows and macOS * Add missing Python keywords and builtins * add Report class to optionally collect and classify unmatched subtokens * add optional argument to specify additional extensions * Tue Dec 04 2018 Matej Cepl <mcepl@suse.com> - Remove superfluous devel dependency for noarch package * Thu May 24 2018 toddrme2178@gmail.com - spec file cleanups * Thu Nov 16 2017 toddrme2178@gmail.com - Initial version
/etc/alternatives/scspell /usr/bin/scspell /usr/bin/scspell-3.11 /usr/lib/python3.11/site-packages/scspell /usr/lib/python3.11/site-packages/scspell/__init__.py /usr/lib/python3.11/site-packages/scspell/__main__.py /usr/lib/python3.11/site-packages/scspell/__pycache__ /usr/lib/python3.11/site-packages/scspell/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/__main__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/__main__.cpython-311.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/_corpus.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/_corpus.cpython-311.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/_portable.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/_portable.cpython-311.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/_util.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/scspell/__pycache__/_util.cpython-311.pyc /usr/lib/python3.11/site-packages/scspell/_corpus.py /usr/lib/python3.11/site-packages/scspell/_portable.py /usr/lib/python3.11/site-packages/scspell/_util.py /usr/lib/python3.11/site-packages/scspell/data /usr/lib/python3.11/site-packages/scspell/data/dictionary.txt /usr/lib/python3.11/site-packages/scspell3k-2.2-py3.11.egg-info /usr/lib/python3.11/site-packages/scspell3k-2.2-py3.11.egg-info/PKG-INFO /usr/lib/python3.11/site-packages/scspell3k-2.2-py3.11.egg-info/SOURCES.txt /usr/lib/python3.11/site-packages/scspell3k-2.2-py3.11.egg-info/dependency_links.txt /usr/lib/python3.11/site-packages/scspell3k-2.2-py3.11.egg-info/entry_points.txt /usr/lib/python3.11/site-packages/scspell3k-2.2-py3.11.egg-info/top_level.txt /usr/share/doc/packages/python311-scspell3k /usr/share/doc/packages/python311-scspell3k/README.rst /usr/share/licenses/python311-scspell3k /usr/share/licenses/python311-scspell3k/COPYING.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Thu Nov 7 23:51:53 2024