Debian Codegraph @

proselint/checks/misc/debased.py

raw
1 """Debased language.
2
3 ---
4 layout: post
5 source: ???
6 source_url: ???
7 title: yelling
8 date: 2014-06-10 12:31:19
9 categories: writing
10 ---
11
12 Too much yelling.
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.debased"
22 msg = "Bad usage, debased language, a continuous temptation."
23
24 list = [
25 "a not unjustifiable assumption",
26 "leaves much to be desired",
27 "would serve no purpose",
28 "a consideration which we should do well to bear in mind",
29 ]
30
31 return existence_check(text, list, err, msg)