We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40336ce commit 672b704Copy full SHA for 672b704
1 file changed
codespell_lib/_spellchecker.py
@@ -16,8 +16,6 @@
16
Copyright (C) 2011 ProFUSION embedded systems
17
"""
18
19
-import sys
20
-
21
# Pass all misspellings through this translation table to generate
22
# alternative misspellings and fixes.
23
alt_chars = (("'", "’"),) # noqa: RUF001
@@ -58,10 +56,7 @@ def build_dict(
58
56
for line in f:
59
57
left, pound, _ = line.partition("#")
60
if pound and left and left[-1] not in (" ", "\t"):
61
- print(
62
- f"WARNING: {filename}: missing spaces before #: {line.rstrip()!r}",
63
- file=sys.stderr,
64
- )
+ print(f"WARNING: {filename}: missing spaces before #: {line.rstrip()!r}")
65
continue
66
67
line = left.strip()
0 commit comments