summaryrefslogtreecommitdiff
path: root/pylintrc
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-04-21 11:28:40 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-04-26 09:12:32 +0200
commitf58bba40289f2ba85f4cbbacdda64974924d2b0e (patch)
treeb48ad48b1279db359aa68300d72d3569cceeb275 /pylintrc
parentb94b0c79fd5ec334c193f86b5e296cea1a36622f (diff)
downloadpylint-git-f58bba40289f2ba85f4cbbacdda64974924d2b0e.tar.gz
[spelling] Add a configuration for the spelling checker
Diffstat (limited to 'pylintrc')
-rw-r--r--pylintrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/pylintrc b/pylintrc
index 3253109f3..dbe919b47 100644
--- a/pylintrc
+++ b/pylintrc
@@ -392,24 +392,24 @@ missing-member-max-choices=1
# Spelling dictionary name. Available dictionaries: none. To make it working
# install python-enchant package.
-spelling-dict=
+spelling-dict=en_US
# List of comma separated words that should not be checked.
spelling-ignore-words=
# List of comma separated words that should be considered directives if they
# appear and the beginning of a comment and should not be checked.
-spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:
+spelling-ignore-comment-directives=fmt: on,fmt: off,noqa:,noqa,nosec,isort:skip,mypy:,pragma:,# noinspection
# A path to a file that contains private dictionary; one word per line.
-spelling-private-dict-file=
+spelling-private-dict-file=.pyenchant_pylint_custom_dict.txt
# Tells whether to store unknown words to indicated private dictionary in
# --spelling-private-dict-file option instead of raising a message.
spelling-store-unknown-words=no
# Limits count of emitted suggestions for spelling mistakes.
-max-spelling-suggestions=4
+max-spelling-suggestions=2
[DESIGN]