From 9cd50337ec7ac47750f28f1fb2bc322173d5d72e Mon Sep 17 00:00:00 2001 From: svlandeg Date: Thu, 26 Mar 2026 23:12:56 +0100 Subject: [PATCH 1/2] ensure that a ty warning creates an error --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b07686ce60..264caff0c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -209,3 +209,6 @@ banned-module-level-imports = ["typer.rich_utils"] Use 'typer._completion_shared._get_shell_name' instead of using \ 'shellingham.detect_shell' directly. """ + +[tool.ty.terminal] +error-on-warning = true \ No newline at end of file From 042a8cdfd3c185efff6a5c053a2a5121a13d3e5f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Thu, 26 Mar 2026 22:14:56 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20Auto=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 264caff0c9..18228453d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -211,4 +211,4 @@ Use 'typer._completion_shared._get_shell_name' instead of using \ """ [tool.ty.terminal] -error-on-warning = true \ No newline at end of file +error-on-warning = true