Skip to content

Commit da25952

Browse files
committed
add'l lint fixes
1 parent eec1388 commit da25952

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pylsp_jsonrpc/streams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def __init__(self, wfile, **json_dumps_args):
8888
if 'orjson' in sys.modules and json_dumps_args.pop('sort_keys'):
8989
# orjson needs different option handling;
9090
# pylint has an erroneous error here https://github.com/pylint-dev/pylint/issues/9762
91-
self._json_dumps_args = {'option': json.OPT_SORT_KEYS} # pylint: disable=maybe-no-member
91+
self._json_dumps_args = {'option': json.OPT_SORT_KEYS} # pylint: disable=maybe-no-member
9292
self._json_dumps_args.update(**json_dumps_args)
9393
else:
9494
self._json_dumps_args = json_dumps_args

test/test_streams.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def reader(rfile):
3232
def writer(wfile):
3333
return JsonRpcStreamWriter(wfile, sort_keys=True)
3434

35+
3536
def test_reader(rfile, reader):
3637
rfile.write(
3738
b'Content-Length: 49\r\n'

0 commit comments

Comments
 (0)