Simple sample program on readme page fails with KeyError: 'checks' #1348
Labels
bug: confirmed
Bugs that were confirmed in triage.
cat: maintenance
Issues and PRs related to the maintenance of a module.
priority: high
Issues and PRs that should be resolved as soon as possible.
status: wip
Issues and PRs that are still a work in progress.
type: fix
Issues and PRs related to bugs.
version: patch
Issues and PRs with bug fixes belonging to the next patch release.
Milestone
import proselint
suggestions = proselint.tools.lint("This sentence is very unique")
Produces the following error:
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'
The text was updated successfully, but these errors were encountered: