Debian Codegraph @

proselint/checks/misc/whence.py

raw
1 """From whence it came.
2
3 ---
4 layout: post
5 source: unknown
6 source_url: unknown
7 title: whence
8 date: 2014-06-10 12:31:19
9 categories: writing
10 ---
11
12 From whence it came.
13
14 """
15 from proselint.tools import existence_check, memoize
16
17
18 @memoize
19 def check(text):
20 """Check the text."""
21 err = "misc.whence"
22 msg = "The 'from' in 'from whence' is not needed."
23
24 return existence_check(text, ["from whence"], err, msg)