wrong-spelling-in-docstring / C0402ΒΆ

Message emitted:

Wrong spelling of a word '%s' in a docstring: %s %s Did you mean: '%s'?


Used when a word in docstring is not spelled correctly.

Problematic code:

"""There's a mistkae in this string"""  # [wrong-spelling-in-docstring]

Correct code:

"""There's no mistake in this string"""

Configuration file:

# This might not run in your env if you don't have the en_US dict installed.

Created by the spelling checker.