Skip to main content

Command line spellchecker for source code files.

Project description

https://travis-ci.org/s-knibbs/sourcespell.svg?branch=master

Command line spellchecking utility for checking comments and string literals in source code files. Includes an interactive mode for making corrections.

Supports a wide array of languages including Python, C/C++ and HTML markup.

For more information, see the documentation.

Basic Usage

To print a list of spelling errors for a project:

sourcespell -d path/to/project [-I file/to/ignore]

Installation

Install with pip:

pip install sourcespell

Known Issues

The following errors are produced from the enchant library when using an excluded words list:

** (process:214): CRITICAL **: enchant_is_all_caps: assertion 'word && *word' failed

This is caused by blank-lines in the excluded words file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for SourceSpell, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size SourceSpell-1.1.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page