Skip to content

Commit 574441d

Browse files
committed
lint
1 parent f4f3bf5 commit 574441d

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

pynvim/api/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
from ..compat import unicode_errors_default
77

8+
__all__ = ()
9+
810

911
class NvimError(Exception):
1012
pass
@@ -88,6 +90,7 @@ class RemoteMap(object):
8890
8991
It is used to provide a dict-like API to vim variables and options.
9092
"""
93+
9194
_set = None
9295
_del = None
9396

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ extend-ignore = D211,E731,D401,W503
66
max-line-length = 88
77
per-file-ignores =
88
test/*:D1
9+
application-import-names = pynvim
910

1011
[isort]
1112
known_first_party = pynvim

test/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import os
33
import textwrap
44

5-
import pynvim
6-
75
import pytest
86

7+
import pynvim
8+
99
pynvim.setup_logging("test")
1010

1111

test/test_buffer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22

33
import pytest
4+
45
from pynvim.api import NvimError
56
from pynvim.compat import IS_PYTHON3
67

@@ -178,7 +179,6 @@ def test_get_exceptions(vim):
178179
assert excinfo.value.args == ("Invalid option name: 'invalid-option'",)
179180

180181

181-
182182
def test_set_items_for_range(vim):
183183
vim.current.buffer[:] = ['a', 'b', 'c', 'd', 'e']
184184
r = vim.current.buffer.range(1, 3)

0 commit comments

Comments
 (0)