Skip to content

Commit 1a31d57

Browse files
committed
ensure that a ty warning creates an error
1 parent 047009b commit 1a31d57

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,6 @@ known-third-party = ["typer", "fastapi"]
157157
[tool.ruff.lint.pyupgrade]
158158
# Preserve types, even if a file imports `from __future__ import annotations`.
159159
keep-runtime-typing = true
160+
161+
[tool.ty.terminal]
162+
error-on-warning = true

0 commit comments

Comments
 (0)