diff options
author | Michal Nowikowski <godfryd@gmail.com> | 2014-11-27 21:38:36 +0100 |
---|---|---|
committer | Michal Nowikowski <godfryd@gmail.com> | 2014-11-27 21:38:36 +0100 |
commit | a2ee97494b45f662b1d24a2e1d9ebf3ce66d5d63 (patch) | |
tree | 77b8a1799a544195d34fe3c7ffcb622786c02f04 | |
parent | 0b3f88c3efd475102669a12283ecf411d6d276ba (diff) | |
download | pylint-a2ee97494b45f662b1d24a2e1d9ebf3ce66d5d63.tar.gz |
fixed reading list of ignored words for spelling checkerissue-398
-rw-r--r-- | checkers/spelling.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checkers/spelling.py b/checkers/spelling.py index 3990633..6cc604a 100644 --- a/checkers/spelling.py +++ b/checkers/spelling.py @@ -97,7 +97,7 @@ class SpellingChecker(BaseTokenChecker): if not dict_name: return - self.ignore_list = self.config.spelling_ignore_words.split(",") + self.ignore_list = [w.strip() for w in self.config.spelling_ignore_words.split(",")] # "param" appears in docstring in param description and # "pylint" appears in comments in pylint pragmas. self.ignore_list.extend(["param", "pylint"]) |