proselint icon indicating copy to clipboard operation
proselint copied to clipboard

Simple sample program on readme page fails with KeyError: 'checks'

Open johnosbb opened this issue 1 year ago • 3 comments

import proselint

suggestions = proselint.tools.lint("This sentence is very unique")

Produces the following error:

suggestions = proselint.tools.lint("This sentence is very unique")

File "/home/me/anaconda3/lib/python3.9/site-packages/proselint/tools.py", line 240, in lint checks = get_checks(config) File "/home/me/anaconda3/lib/python3.9/site-packages/proselint/tools.py", line 142, in get_checks check_names = [key for (key, val) in options["checks"].items() if val] KeyError: 'checks'

johnosbb avatar Apr 01 '23 17:04 johnosbb