We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4956622 commit 85c94e5Copy full SHA for 85c94e5
src/tox_current_env/hooks4.py
@@ -79,7 +79,12 @@ def tox_add_core_config(core_conf, state):
79
opt = state.conf.options
80
81
if opt.assert_config and not state.conf.src_path.exists():
82
- raise LookupError("tox configuration not found.")
+ raise LookupError(
83
+ "tox configuration not found. "
84
+ "To use tox, please ensure tox configuration is located in current directory "
85
+ "(in tox.ini, setup.cfg, pyproject.toml, or tox.toml). "
86
+ "See https://tox.wiki/en/latest/config.html for details."
87
+ )
88
89
if opt.current_env or opt.print_deps_to or opt.print_extras_to or opt.print_dependency_groups_to:
90
# We do not want to install the main package.
0 commit comments