Skip to content

Commit fa6df49

Browse files
committed
ensure that a ty warning creates an error
1 parent 51b72e1 commit fa6df49

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
@@ -151,3 +151,6 @@ known-third-party = ["sqlmodel", "sqlalchemy", "pydantic", "fastapi"]
151151
[tool.ruff.lint.pyupgrade]
152152
# Preserve types, even if a file imports `from __future__ import annotations`.
153153
keep-runtime-typing = true
154+
155+
[tool.ty.terminal]
156+
error-on-warning = true

0 commit comments

Comments
 (0)