Skip to content

Commit 2014441

Browse files
committed
rebase master into HEAD
1 parent 27eafc7 commit 2014441

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

pylsp/plugins/rope_autoimport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
log = logging.getLogger(__name__)
2121

2222
_score_pow = 5
23-
_score_max = 10**_score_pow
23+
_score_max = 10 ** _score_pow
2424
MAX_RESULTS = 1000
2525

2626

test/test_utils.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,13 @@ def test_find_parents(tmpdir):
138138

139139

140140
def test_merge_dicts():
141-
assert _utils.merge_dicts(
142-
{"a": True, "b": {"x": 123, "y": {"hello": "world"}}},
143-
{"a": False, "b": {"y": [], "z": 987}},
144-
) == {"a": False, "b": {"x": 123, "y": [], "z": 987}}
141+
assert (
142+
_utils.merge_dicts(
143+
{"a": True, "b": {"x": 123, "y": {"hello": "world"}}},
144+
{"a": False, "b": {"y": [], "z": 987}},
145+
)
146+
== {"a": False, "b": {"x": 123, "y": [], "z": 987}}
147+
)
145148

146149

147150
def test_clip_column():

0 commit comments

Comments
 (0)