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.

Source Distribution

SourceSpell-1.1.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file SourceSpell-1.1.tar.gz.

File metadata

  • Download URL: SourceSpell-1.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for SourceSpell-1.1.tar.gz
Algorithm Hash digest
SHA256 f80584f2d36a7efa2bd75689b5e436e948350a511bbca441e04def0840bfc688
MD5 9eea06a99c6727708d4eaa0ed2de3f6a
BLAKE2b-256 679efe4984a0e34dac20f3ae69834e9c52c5ad3c021b0b881ccd13a8bb1e6fc2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page