We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c7ff8 commit 89992eaCopy full SHA for 89992ea
src/tox_current_env/hooks4.py
@@ -61,6 +61,10 @@ def tox_add_option(parser):
61
@impl
62
def tox_add_core_config(core_conf, state):
63
opt = state.conf.options
64
+ if (opt.print_deps_to or opt.print_extras_to) and not core_conf.loaders:
65
+ raise RuntimeError(
66
+ "--print-deps-to and/or --print-extras-to cannot be used without tox config."
67
+ )
68
69
if opt.current_env or opt.print_deps_to or opt.print_extras_to:
70
# We do not want to install the main package.
0 commit comments