-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] --config
relative to root
#508
Comments
--config
relative to root
What you suggest is similar to the behaviour I get how convenient this would be in some situations if the CLI would consider As an alternative, maybe we should consider looking for multiple |
Congratulations on the project! 😄
Is your feature request related to a problem? Please describe.
Right now the
--config
option is not relative to theroot
argument. That can cause some troubles if a person is executing the command from a different directory than theroot
.If I want to execute
deptry
in a folder below my current folder, I'd need to rundeptry path/to/folder --config path/to/folder/pyproject.toml
, otherwise the command would look forpyproject.toml
in my current directory.This approach works, but is not very ergonometric to repeat the whole path twice, and besides that, if I want to read a bunch of paths from a file and execute on those paths, I'd need to
cat list_of_paths.txt | xargs deptry --config {some bash magic}
which is a bit painful.Describe the solution you would like
--config
path be relative toroot
The text was updated successfully, but these errors were encountered: