Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ follow_imports_for_stubs = true
# ty (preview) over tests + samples. Relaxed: ty's defaults are gradual, and a few
# categories are too noisy on test/mock-heavy code to gate on yet.
[tool.ty.rules]
call-non-callable = "warn"
unused-ignore-comment = "ignore"
unused-type-ignore-comment = "ignore"

Expand Down
2 changes: 1 addition & 1 deletion python/scripts/workspace_poe_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def _pyrefly_command(paths: list[str], *, samples: bool) -> list[str]:


def _ty_command(paths: list[str], *, samples: bool) -> list[str]:
command = ["uv", "run", "ty", "check"]
command = ["uv", "run", "ty", "check", "--exit-zero-on-warning"]
if samples:
command.extend(["--config-file", "ty.samples.toml"])
for excluded in SAMPLE_TYPING_EXCLUDES:
Expand Down
Loading