Skip to content

Commit a2b1574

Browse files
committed
Lint
1 parent d1ed56e commit a2b1574

File tree

2 files changed

+30
-33
lines changed

2 files changed

+30
-33
lines changed

tests/upstream_tests/match_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# this package
88
from formate_trailing_commas import trailing_commas_hook
99

10+
1011
@pytest.mark.parametrize(
1112
's',
1213
(

tests/upstream_tests/unhug_test.py

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,13 @@ def test_noop_unhugs(src):
186186
),
187187
# TODO
188188
# (
189-
# 'x = ("foo"\n'
190-
# ' "bar")',
191-
192-
# 'x = (\n'
193-
# ' "foo"\n'
194-
# ' "bar"\n'
195-
# ')',
196-
# ),
189+
# 'x = ("foo"\n'
190+
# ' "bar")',
191+
# 'x = (\n'
192+
# ' "foo"\n'
193+
# ' "bar"\n'
194+
# ')',
195+
# ),
197196
# Regression test for #17
198197
(
199198
'x("foo", (\n'
@@ -232,32 +231,29 @@ def test_noop_unhugs(src):
232231
# TODO
233232
# # Regression test for #32
234233
# (
235-
# '[a()\n'
236-
# ' for b in c\n'
237-
# ' if (\n'
238-
# ' d\n'
239-
# ' )\n'
240-
# ']',
241-
242-
# '[\n'
243-
# ' a()\n'
244-
# ' for b in c\n'
245-
# ' if (\n'
246-
# ' d\n'
247-
# ' )\n'
248-
# ']',
249-
# ),
234+
# '[a()\n'
235+
# ' for b in c\n'
236+
# ' if (\n'
237+
# ' d\n'
238+
# ' )\n'
239+
# ']',
240+
# '[\n'
241+
# ' a()\n'
242+
# ' for b in c\n'
243+
# ' if (\n'
244+
# ' d\n'
245+
# ' )\n'
246+
# ']',
247+
# ),
250248
# pytest.param(
251-
# 'x = [x\n'
252-
# ' for x in y()]\n',
253-
254-
# 'x = [\n'
255-
# ' x\n'
256-
# ' for x in y()\n'
257-
# ']\n',
258-
259-
# id='#42: listcomp unhug ends in brace',
260-
# ),
249+
# 'x = [x\n'
250+
# ' for x in y()]\n',
251+
# 'x = [\n'
252+
# ' x\n'
253+
# ' for x in y()\n'
254+
# ']\n',
255+
# id="#42: listcomp unhug ends in brace",
256+
# ),
261257
),
262258
)
263259
def test_fix_unhugs(src, expected):

0 commit comments

Comments
 (0)