Skip to content

Commit 6b4f68c

Browse files
chore(pre-commit): autofix run
1 parent 8247847 commit 6b4f68c

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

Diff for: tests/test_format.py

+13-10
Original file line numberDiff line numberDiff line change
@@ -220,15 +220,18 @@ def test_is_conventional__missing_delimiter():
220220
assert not format.is_conventional(input)
221221

222222

223-
@pytest.mark.parametrize('input,has_prefix', [
224-
('amend! ', True),
225-
('fixup! ', True),
226-
('squash! ', True),
227-
('squash! whatever .. $12 #', True),
228-
('squash!', False),
229-
(' squash! ', False),
230-
('squash!:', False),
231-
('feat(foo):', False),
232-
])
223+
@pytest.mark.parametrize(
224+
"input,has_prefix",
225+
[
226+
("amend! ", True),
227+
("fixup! ", True),
228+
("squash! ", True),
229+
("squash! whatever .. $12 #", True),
230+
("squash!", False),
231+
(" squash! ", False),
232+
("squash!:", False),
233+
("feat(foo):", False),
234+
],
235+
)
233236
def test_has_autosquash_prefix(input, has_prefix):
234237
assert format.has_autosquash_prefix(input) == has_prefix

0 commit comments

Comments
 (0)