summaryrefslogtreecommitdiff
path: root/rplugin
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2019-11-17 12:52:20 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2019-11-17 12:52:20 +0900
commitedbc7b721e45f1eaa9e1ebe695f4f363f14a7a67 (patch)
tree8abf64ba7a39af2f8e86656c29c9760488bd1ff7 /rplugin
parent84981f49c68d07749a5d522f8df595c60fdbcb6f (diff)
downloaddeoplete.nvim-edbc7b721e45f1eaa9e1ebe695f4f363f14a7a67.zip
Fix lint error
Diffstat (limited to 'rplugin')
-rw-r--r--rplugin/python3/deoplete/filter/converter_case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/filter/converter_case.py b/rplugin/python3/deoplete/filter/converter_case.py
index 7a47ab4..4f36e8d 100644
--- a/rplugin/python3/deoplete/filter/converter_case.py
+++ b/rplugin/python3/deoplete/filter/converter_case.py
@@ -20,7 +20,7 @@ class Filter(Base):
def filter(self, context: UserContext) -> Candidates:
complete_str = context['complete_str']
if not re.search(r'[A-Z]', complete_str):
- return context['candidates']
+ return context['candidates'] # type: ignore
complete_lower = complete_str.lower()
complete_len = len(complete_str)