Skip to content

Commit

Permalink
Refactor: Rename spellchecker.py to _spellchecker.py
Browse files Browse the repository at this point in the history
Per review comment.
  • Loading branch information
nthykier committed May 25, 2024
1 parent ce280c9 commit ae0e8d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions codespell_lib/_codespell.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@
Tuple,
)

from ._spellchecker import (
DetectedMisspelling,
LineTokenizer,
Spellchecker,
)
from ._text_util import fix_case

# autogenerated by setuptools_scm
from ._version import ( # type: ignore[import-not-found]
__version__ as VERSION, # noqa: N812
)
from .spellchecker import (
DetectedMisspelling,
LineTokenizer,
Spellchecker,
)

word_regex_def = r"[\w\-'’]+" # noqa: RUF001
# While we want to treat characters like ( or " as okay for a starting break,
Expand Down
File renamed without changes.

0 comments on commit ae0e8d2

Please sign in to comment.