[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-20 08:24:53 +00:00
commit 4ec9db68ad

View file

@ -70,7 +70,5 @@ def test_bash_exec_allows_normal_command():
def test_bypass_skips_the_out_of_workdir_block():
# Bypass Permissions skips the blocklist and this check alike.
msg = _bash_exec(
"cat /etc/hostname", session_id = "pathcheck-bypass", disable_sandbox = True
)
msg = _bash_exec("cat /etc/hostname", session_id = "pathcheck-bypass", disable_sandbox = True)
assert "outside the sandbox working directory" not in msg