How to use the codespell.find_spell_errors function in codespell

To help you get started, we’ve selected a few codespell examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shinglyu / vim-codespell / plugin / test_codespell.py View on Github external
def test_find_spell_errors():
    words = [
        "Helro",
        "world",
        "wordd"
    ]

    assert ["Helro", "wordd"] == codespell.find_spell_errors(words)

codespell

Codespell

GPL-2.0
Latest version published 6 months ago

Package Health Score

88 / 100
Full package analysis

Similar packages