rye
rye copied to clipboard
Use script path to look for pyproject.toml instead of cwd
If we did that running python path/to/project/source/file.py would work without needing to cd into that directory.
At the very least there should be a flag for rye run that searches for pyproject.toml up from script path instead of up from cwd. (I know there's a flag to specify path to project.toml but not as short/simple as say -S with no args)