summaryrefslogtreecommitdiff
path: root/src/tox/config/sets.py
diff options
context:
space:
mode:
authorBernát Gábor <gaborjbernat@gmail.com>2022-12-07 16:21:41 -0800
committerGitHub <noreply@github.com>2022-12-07 16:21:41 -0800
commit2476e95b3f50b0f584ac17bc25eaaa77fb876671 (patch)
tree4e25587d335aae344d95fc90a13dc15b5e1767f7 /src/tox/config/sets.py
parent6305d9aa33d8b1e43d7c0aceaecf89233d0d17ee (diff)
downloadtox-git-2476e95b3f50b0f584ac17bc25eaaa77fb876671.tar.gz
Create session views of the build wheel/sdist into temp_dir (#2614)
Resolves https://github.com/tox-dev/tox/issues/2612
Diffstat (limited to 'src/tox/config/sets.py')
-rw-r--r--src/tox/config/sets.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tox/config/sets.py b/src/tox/config/sets.py
index c87701f8..0315369a 100644
--- a/src/tox/config/sets.py
+++ b/src/tox/config/sets.py
@@ -199,8 +199,8 @@ class CoreConfigSet(ConfigSet):
self.add_config(
keys=["temp_dir"],
of_type=Path,
- default=lambda conf, _: cast(Path, self["tox_root"]) / ".tmp", # noqa: U100, U101
- desc="temporary directory cleaned at start",
+ default=lambda conf, _: cast(Path, self["work_dir"]) / ".tmp", # noqa: U100, U101
+ desc="a folder for temporary files (is not cleaned at start)",
)
def _on_duplicate_conf(self, key: str, definition: ConfigDefinition[V]) -> None: # noqa: U100