python2-scspell3k-2.2-1.1.noarch.rpm


Advertisement

Description

python2-scspell3k - A conservative interactive spell checker for source code

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python2-scspell3k-2.2-1.1.noarch.rpm
Package name python2-scspell3k
Package version 2.2
Package release 1.1
Package architecture noarch
Package type rpm
Category Development/Languages/Python
Homepage https://github.com/myint/scspell
License GPL-2.0-only
Maintainer -
Download size 240.07 KB
Installed size 1.04 MB
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.

Alternatives

Package Version Architecture Repository
python2-scspell3k - - -

Requires

Name Value
python(abi) = 2.7

Provides

Name Value
python-scspell3k = 2.2-1.1
python2-scspell3k = 2.2-1.1

Obsoletes

Name Value
python-scspell3k < 2.2-1.1

Download

Type URL
Mirror widehat.opensuse.org
Binary Package python2-scspell3k-2.2-1.1.noarch.rpm
Source Package python-scspell3k-2.2-1.1.src.rpm

Install Howto

Install python2-scspell3k rpm package:

# zypper install python2-scspell3k

Files

Path
/usr/lib/python2.7/site-packages/scspell/__init__.py
/usr/lib/python2.7/site-packages/scspell/__init__.pyc
/usr/lib/python2.7/site-packages/scspell/__init__.pyo
/usr/lib/python2.7/site-packages/scspell/__main__.py
/usr/lib/python2.7/site-packages/scspell/__main__.pyc
/usr/lib/python2.7/site-packages/scspell/__main__.pyo
/usr/lib/python2.7/site-packages/scspell/_corpus.py
/usr/lib/python2.7/site-packages/scspell/_corpus.pyc
/usr/lib/python2.7/site-packages/scspell/_corpus.pyo
/usr/lib/python2.7/site-packages/scspell/_portable.py
/usr/lib/python2.7/site-packages/scspell/_portable.pyc
/usr/lib/python2.7/site-packages/scspell/_portable.pyo
/usr/lib/python2.7/site-packages/scspell/_util.py
/usr/lib/python2.7/site-packages/scspell/_util.pyc
/usr/lib/python2.7/site-packages/scspell/_util.pyo
/usr/lib/python2.7/site-packages/scspell/data/dictionary.txt
/usr/lib/python2.7/site-packages/scspell3k-2.2-py2.7.egg-info/PKG-INFO
/usr/lib/python2.7/site-packages/scspell3k-2.2-py2.7.egg-info/SOURCES.txt
/usr/lib/python2.7/site-packages/scspell3k-2.2-py2.7.egg-info/dependency_links.txt
/usr/lib/python2.7/site-packages/scspell3k-2.2-py2.7.egg-info/entry_points.txt
/usr/lib/python2.7/site-packages/scspell3k-2.2-py2.7.egg-info/top_level.txt
/usr/share/doc/packages/python2-scspell3k/README.rst
/usr/share/licenses/python2-scspell3k/COPYING.txt

Changelog

2019-02-14 - 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
2018-12-04 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
2018-05-24 - toddrme2178@gmail.com
- spec file cleanups
2017-11-16 - toddrme2178@gmail.com
- Initial version

See Also

Package Description
python2-seaborn-0.9.0-3.1.noarch.rpm Statistical data visualization for python
python2-selection-0.0.14-1.1.noarch.rpm API to extract content from HTML & XML documents
python2-selectors2-2.0.1-2.1.noarch.rpm Back-ported, durable, and portable selectors
python2-selectors34-1.2-2.2.noarch.rpm Backport of the selectors module from Python 3.4
python2-selenium-3.14.1-1.2.i586.rpm Python bindings for Selenium
python2-selenium-3.14.1-1.2.x86_64.rpm Python bindings for Selenium
python2-semanage-2.9-1.1.i586.rpm Python bindings for SELinux's policy management library
python2-semanage-2.9-1.1.x86_64.rpm Python bindings for SELinux's policy management library
python2-semantic_version-2.6.0-2.2.noarch.rpm A library implementing the 'SemVer' scheme
python2-semver-2.8.1-2.2.noarch.rpm Python helper for Semantic Versioning
python2-senlinclient-1.10.1-1.1.noarch.rpm Python API and CLI for OpenStack Senlin
python2-seqdiag-0.9.6-1.1.noarch.rpm Python module to generate sequence-diagram images from text
python2-serpent-1.28-1.1.noarch.rpm Serialization based on astliteral_eval
python2-serpy-0.3.1-3.2.noarch.rpm Object serialization for Python
python2-serverfiles-0.3.0-1.1.noarch.rpm A utility to locally store files on a HTTP server
Advertisement
Advertisement