Skip to content
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

tox quickstart: error: the following arguments are required: root #3084

Closed
Vuizur opened this issue Aug 10, 2023 · 3 comments · Fixed by #3123
Closed

tox quickstart: error: the following arguments are required: root #3084

Vuizur opened this issue Aug 10, 2023 · 3 comments · Fixed by #3123
Assignees
Labels
bug:minor does not affect many people or has no big impact help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.

Comments

@Vuizur
Copy link

Vuizur commented Aug 10, 2023

Issue

I ran tox quickstart as described in https://tox.wiki/en/latest/user_guide.html.

and get the error tox quickstart: error: the following arguments are required: root.

It seems that either the default parameter that should select the current working environment seems to be broken or the documentation should be updated.

Environment

Provide at least:

  • OS: Windows 11
Output of pip list of the host Python, where tox is installed
Python version: 3.11
Packages: No idea, I installed with pipx

Thanks a lot for developing this super useful library!

@jugmac00 jugmac00 added the help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted. label Aug 10, 2023
@jugmac00
Copy link
Member

The initial implementation was done in #1907.

@Tbruno25
Copy link
Contributor

Tbruno25 commented Sep 9, 2023

I'm happy to submit a PR for this.

Looking at the implementation, the root argument has default=Path().absolute().

Based on this, I think it's safe to assume that the root positional argument was intended to be optional?

@gaborbernat
Copy link
Member

Yes 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:minor does not affect many people or has no big impact help:wanted Issues that have been acknowledged, a solution determined and a PR might likely be accepted.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants