Skip to content

Commit 72b6ba7

Browse files
committed
flake8: allow "long" to be mentioned in mixed python2/3 source file
and fix style of script_host.py
1 parent 79721e6 commit 72b6ba7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

neovim/plugin/script_host.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def load_module(self, fullname, path=None):
209209
class VimPathFinder(object):
210210
@staticmethod
211211
def find_module(fullname, path=None):
212-
"Method for Python 2.7 and 3.3."
212+
"""Method for Python 2.7 and 3.3."""
213213
try:
214214
return VimModuleLoader(
215215
_find_module(fullname, fullname, path or _get_paths()))
@@ -218,7 +218,7 @@ def find_module(fullname, path=None):
218218

219219
@staticmethod
220220
def find_spec(fullname, path=None, target=None):
221-
"Method for Python 3.4+."
221+
"""Method for Python 3.4+."""
222222
return PathFinder.find_spec(fullname, path or _get_paths(), target)
223223

224224
def hook(path):

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[flake8]
2-
ignore = D211,E731
2+
ignore = D211,E731,F821

0 commit comments

Comments
 (0)