Skip to content

Commit ae0e8d2

Browse files
committed
Refactor: Rename spellchecker.py to _spellchecker.py
Per review comment.
1 parent ce280c9 commit ae0e8d2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

codespell_lib/_codespell.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939
Tuple,
4040
)
4141

42+
from ._spellchecker import (
43+
DetectedMisspelling,
44+
LineTokenizer,
45+
Spellchecker,
46+
)
4247
from ._text_util import fix_case
4348

4449
# autogenerated by setuptools_scm
4550
from ._version import ( # type: ignore[import-not-found]
4651
__version__ as VERSION, # noqa: N812
4752
)
48-
from .spellchecker import (
49-
DetectedMisspelling,
50-
LineTokenizer,
51-
Spellchecker,
52-
)
5353

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

0 commit comments

Comments
 (0)