Skip to content

Commit 0a5fc6b

Browse files
committed
RUF043 - Pattern passed to match= contains metacharacters but is neither escaped nor raw
1 parent 9017b56 commit 0a5fc6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/pytest/_cli_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def invoke_cli_app(self, parsed_cli_args: Namespace) -> ReturnCodeType:
9797
[CustomCmdStub()],
9898
)
9999

100-
with pytest.raises(PreCommitTerraformExit, match='^sentinel$'):
100+
with pytest.raises(PreCommitTerraformExit, match=r'^sentinel$'):
101101
invoke_cli_app(['sentinel'])
102102

103103
captured_outputs = capsys.readouterr()

0 commit comments

Comments
 (0)