Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inline directive to ignore a given line #45

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

fininicus
Copy link

This implements support for ignoring given lines of a source file with an inline directive # nospell, similar to Flake8's # noqa.

The spell checker will ignore any line containing the string # nospell, this is useful for content such as URLs, base-64 encoded strings, and other tokens which are neither natural language nor syntactic keywords.

We implemented this because our custom dictionary was becoming large and unmaintainable. Issue #44 describes a very similar use case.

The --disable-nospell flag can be used to disable this functionality.

@fininicus
Copy link
Author

Hi @myint, is there any chance on getting this PR reviewed/merged/released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant