Summary
PySpelling is a module to help with automating spell checking in a project with Aspell or Hunspell. It is essentially a wrapper around the command line utility of these two spell checking tools, and allows you to setup different spelling tasks for different file types. You can apply specific and different filters and options to each task. PySpelling can also be used in CI environments to fail the build if there are misspelled words. Aspell and Hunspell are very good spell checking tools. Aspell particularly comes with a couple of filters, but the filters are limited in types and aren't extremely flexible. PySpelling was created to work around Aspell's and Hunspell's filtering shortcomings by creating a wrapper around them that could be extended to handle more kinds of file formats and provide more advanced filtering. If you need to filter out specific HTML tags with specific IDs or class names, PySpelling can do it. If you want to scan Python files for docstrings, but also avoid specific content within the docstring, you can do that as well. If PySpelling doesn't have a filter you need, with access to so many available Python modules, you can easily write your own.
Versions
v2.7.0 :: 0 :: gentoo
- Modified
- License
- MIT
- Keywords
- ~amd64 ~x86
- USE flags
- doc test
USE flags
General
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
python_targets
- python3_7
- Build with Python 3.7
- python3_8
- Build with Python 3.8
Runtime Dependencies
app-text / aspell : A spell checker replacement for ispell
app-text / hunspell : Spell checker, morphological analyzer library and command-line tool
dev-lang / python : An interpreted, interactive, object-oriented programming language
dev-lang / python-exec : Python script wrapper
dev-python / beautifulsoup : Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree
dev-python / html5lib : HTML parser based on the HTML5 specification
dev-python / lxml : A Pythonic binding for the libxml2 and libxslt libraries
dev-python / markdown : Python implementation of the markdown markup language
dev-python / pyyaml : YAML parser and emitter for Python
dev-python / setuptools : Collection of extensions to Distutils
dev-python / soupsieve : A modern CSS selector implementation for BeautifulSoup
dev-python / wcmatch : Wildcard/glob file name matcher
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Joonas Niilola · gentoo
dev-python/pyspelling: add missing dies
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Joonas Niilola · gentoo
dev-python/pyspelling: add missing test dep
Signed-off-by: Joonas Niilola <juippis@gentoo.org> - Andrew Ammerlaan · gentoo
dev-python/pyspelling: Spell checker automation tool
Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>