Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
klebster2 committed Nov 2, 2024
1 parent c53ac2e commit 97657e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugin/wordnet-cmp.vim
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if !has("python3")
echo "vim has to be compiled with +python3 to run this"
if !has('python3')
echo 'vim has to be compiled with +python3 to run this'
finish
endif

Expand Down
4 changes: 2 additions & 2 deletions python/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def install(package: str):

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

0 comments on commit 97657e6

Please sign in to comment.