Skip to content

ty doesn't support ~ in extra-paths #2811

@ggilley

Description

@ggilley

Summary

Need to be able to specify a path relative to the user's home directory for extra-paths

[tool.ty.environment]
extra-paths = ["~/.cache/myproject/namespaces"]

gives an error:

% uvx ty check
ty failed
  Cause: /Users/myuser/mycompany/p5/myproject/~/.cache/gpt_experiments/namespaces does not point to a directory

There's not a work around because the pyproject.toml lives in the github repo and can't be specific to each user.

Version

ty 0.0.17 (8cec857 2026-02-13)

Metadata

Metadata

Assignees

Labels

configurationRelated to settings and configuration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions