Skip to content

Commit bdf8158

Browse files
authored
ci: fix linting (#407)
* lint * flake8: use max-line-length=88 (allow for 10% extra) * tox: add checkqa to envlist for "tox -l"
1 parent 58ff62f commit bdf8158

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pynvim/api/buffer.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,10 @@ def __delitem__(self, idx):
8484
self.__setitem__(idx, None)
8585

8686
def __ne__(self, other):
87-
""" Test inequality of Buffers.
87+
"""Test inequality of Buffers.
8888
89-
Necessary for Python 2 compatibility """
89+
Necessary for Python 2 compatibility.
90+
"""
9091
return not self.__eq__(other)
9192

9293
def append(self, lines, index=-1):

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ test = pytest
33

44
[flake8]
55
ignore = D211,E731,D401,W503
6+
max-line-length = 88
67

78
[tool:pytest]
89
testpaths = test

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist =
33
py{27,34,35,36}-{asyncio,pyuv},pypy
44
py36-docs
5+
checkqa
56

67
[testenv]
78
deps =

0 commit comments

Comments
 (0)