diff --git a/tasks/python.toml b/tasks/python.toml index 2df00fb757..5edb2be1fe 100644 --- a/tasks/python.toml +++ b/tasks/python.toml @@ -33,7 +33,7 @@ hide = true description = "Type check Python code with ty" depends = ["python:proto"] env = { SETUPTOOLS_SCM_PRETEND_VERSION_FOR_OPENSHELL = "0.0.0" } -run = "uv run ty check {{vars.python_paths}}" +run = "uv run ty check --extra-search-path tasks/scripts {{vars.python_paths}}" hide = true ["python:proto"]