-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
cliRelated to the command-line interfaceRelated to the command-line interfaceconfigurationRelated to settings and configurationRelated to settings and configurationwishNot on the current roadmap; maybe in the futureNot on the current roadmap; maybe in the future
Description
For some reason I do this wrong all the time. I run ty check --python 3.13 and press enter before I realize that it should be --python-version, not --python. It would be nice to detect this (directory "3.13" does not exist and it successfully parses as a python version) and to show a nice error message ("did you mean --python-version 3.13")?
▶ ty check --python 3.13 # oops
ty failed
Cause: Invalid search path settings
Cause: Failed to discover the site-packages directory: Invalid `--python` argument: `/home/shark/ecosystem/ami-notifications-api/3.13` could not be canonicalized
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cliRelated to the command-line interfaceRelated to the command-line interfaceconfigurationRelated to settings and configurationRelated to settings and configurationwishNot on the current roadmap; maybe in the futureNot on the current roadmap; maybe in the future