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 --help shows an error when run outside a directory with tox support files #1509

Closed
Julian opened this issue Jan 26, 2020 · 0 comments · Fixed by #1539
Closed

tox --help shows an error when run outside a directory with tox support files #1509

Julian opened this issue Jan 26, 2020 · 0 comments · Fixed by #1539
Labels
bug:normal affects many people or has quite an impact pr-merged

Comments

@Julian
Copy link

Julian commented Jan 26, 2020

[This is obviously minor, but figured I'd file it anyhow]

Running tox --help to just check usage options from no directory in particular (one that doesn't have a tox.ini etc.) shows an error:

⊙  tox --help                                                                                                                                                                                     julian@Air
ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
usage: tox [--version] [-h] [--help-ini] [-v] [-q] [--showconfig] [-l] [-a] [-c CONFIGFILE] [-e envlist] [--devenv ENVDIR] [--notest] [--sdistonly] [-p VAL] [-o] [--parallel--safe-build]
           [--installpkg PATH] [--develop] [-i URL] [--pre] [-r] [--result-json PATH] [--hashseed SEED] [--force-dep REQ] [--sitepackages] [--alwayscopy] [-s [val]] [--workdir PATH]
           [args [args ...]]

tox options
...
⊙  tox --version                                                                                                                                                                                  julian@Air
3.14.3 imported from /Users/julian/.local/share/virtualenvs/tox/site-packages/tox/__init__.py
@Julian Julian added the bug:normal affects many people or has quite an impact label Jan 26, 2020
@helpr helpr bot added the pr-available label Mar 20, 2020
gaborbernat pushed a commit that referenced this issue Mar 22, 2020
* solved #1509 #1540

* added test for fixed help command

* added changelog

* solved CI error

the problem is with psutil==5.7.0 in pypy .

* solved lint problem 😖

Co-authored-by: nkpro2000sr <[email protected]>
@helpr helpr bot added pr-merged and removed pr-available labels Mar 22, 2020
@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug:normal affects many people or has quite an impact pr-merged
Projects
None yet
1 participant