Skip to content

Commit 97657e6

Browse files
committed
lint
1 parent c53ac2e commit 97657e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugin/wordnet-cmp.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
if !has("python3")
2-
echo "vim has to be compiled with +python3 to run this"
1+
if !has('python3')
2+
echo 'vim has to be compiled with +python3 to run this'
33
finish
44
endif
55

python/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def install(package: str):
1212

1313
# This is the quick and dirty way to get packages installed if they are not already installed
1414
try:
15-
import vim
15+
import vim # pylint: disable=import-error
1616
except Exception as e:
1717
print("No vim module available outside vim")
1818
raise e
@@ -51,5 +51,5 @@ def query():
5151
# Strip and clean the word
5252
cword = cword.strip()
5353
assert isinstance(cword, str)
54-
# TODO: add cleaning logic here
54+
# TODO: add cleaning logic here # pylint: disable
5555
return cword

0 commit comments

Comments
 (0)