We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d96a871 + 53fac9d commit b3ddf9cCopy full SHA for b3ddf9c
1 file changed
codespell.py
@@ -58,15 +58,16 @@ def splitCamelCase(word):
58
59
60
def getMimeType(filepath):
61
- """Map `filepath`` extension to file type."""
+ """Map ``filepath`` extension to file type."""
62
name, ext = os.path.splitext(filepath)
63
return SUFFIX2MIME.get(ext, "text/plain")
64
65
66
def load_text_file(filename):
67
- """
+ """Parse plain text file as list of ``comment_parser.common.Comment``.
68
+
69
For a regular text file, we don't need to parse it for comments. We
- just pass every line to the spell checked.
70
+ just pass every line to the spellchecker.
71
"""
72
73
output = []
0 commit comments