From a2ee97494b45f662b1d24a2e1d9ebf3ce66d5d63 Mon Sep 17 00:00:00 2001 From: Michal Nowikowski Date: Thu, 27 Nov 2014 21:38:36 +0100 Subject: fixed reading list of ignored words for spelling checker --- checkers/spelling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]) -- cgit v1.2.1