style: reformat cli_main_cov3_steps.py for ruff
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 31s
CI / helm (pull_request) Successful in 42s
CI / build (pull_request) Successful in 59s
CI / lint (pull_request) Successful in 1m7s
CI / typecheck (pull_request) Successful in 1m30s
CI / quality (pull_request) Successful in 1m31s
CI / security (pull_request) Successful in 1m39s
CI / integration_tests (pull_request) Successful in 4m6s
CI / unit_tests (pull_request) Successful in 4m32s
CI / e2e_tests (pull_request) Successful in 4m54s
CI / docker (pull_request) Successful in 1m28s
CI / coverage (pull_request) Successful in 11m22s
CI / status-check (push) Blocked by required conditions
CI / status-check (pull_request) Successful in 4s
CI / benchmark-publish (push) Failing after 53s
CI / lint (push) Successful in 59s
CI / quality (push) Successful in 1m18s
CI / build (push) Successful in 36s
CI / typecheck (push) Successful in 1m29s
CI / security (push) Successful in 1m37s
CI / helm (push) Successful in 35s
CI / push-validation (push) Successful in 20s
CI / integration_tests (push) Successful in 3m28s
CI / e2e_tests (push) Successful in 3m32s
CI / unit_tests (push) Successful in 4m39s
CI / coverage (push) Has started running
CI / docker (push) Successful in 1m56s

The get_err_console patch.object call was being split across lines
in a way ruff did not approve; format it the way ruff expects.
This commit was merged in pull request #10928.
This commit is contained in:
2026-04-29 19:41:47 +00:00
committed by Forgejo
parent 7db9fd1ab2
commit b747f1aab1
+3 -1
View File
@@ -60,7 +60,9 @@ def step_register_subcommands_import_error(context: Any) -> None:
raise ImportError("cmcov3 forced import failure")
return original_import(name, *args, **kwargs)
patcher_console = patch.object(mod, "get_err_console", return_value=mock_err_console)
patcher_console = patch.object(
mod, "get_err_console", return_value=mock_err_console
)
patcher_console.start()
context.add_cleanup(patcher_console.stop)