Debian Codegraph @

proselint/checks/misc/pretension.py

raw
1 """Pretension.
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 Never use the phrase 'all hell broke loose'.
13
14 """
15 from proselint.tools import existence_check, max_errors, memoize
16
17
18 @max_errors(1)
19 @memoize
20 def check(text):
21 """Check the text."""
22 err = "ogilvy.pretension"
23 msg = "Jargon words like this one are the hallmarks of a pretentious ass."
24
25 list = [
26 "reconceptualize",
27 "demassification",
28 "attitudinally",
29 "judgmentally",
30 ]
31
32 return existence_check(text, list, err, msg)