Skip to content

Add inline directive to ignore a given line#45

Open
fininicus wants to merge 3 commits intomyint:masterfrom
fininicus:nospell_directive
Open

Add inline directive to ignore a given line#45
fininicus wants to merge 3 commits intomyint:masterfrom
fininicus:nospell_directive

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