| Index: third_party/pylint/checkers/spelling.py
|
| diff --git a/third_party/pylint/checkers/spelling.py b/third_party/pylint/checkers/spelling.py
|
| index 3990633ae8b6bba8d4b939b8a9d323c96a4cf46a..6cc604ad89e81b00687b576774d0d9e564987a86 100644
|
| --- a/third_party/pylint/checkers/spelling.py
|
| +++ b/third_party/pylint/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"])
|
|
|