Skip to content

Commit 529c2a1

Browse files
authored
Remove deprecated whitelist_externals configuration option (#2600)
fixes #2599
1 parent 02e16b4 commit 529c2a1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/changelog/2599.removal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated configuration option ``whitelist_externals`` which was replaced by ``allowlist_externals`` - by :user:`jugmac00`.

docs/config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ Base options
312312
Always recreate virtual environment if this option is true, otherwise leave it up to tox.
313313

314314
.. conf::
315-
:keys: allowlist_externals, whitelist_externals
315+
:keys: allowlist_externals
316316
:default: <empty list>
317317

318318
Each line specifies a command name (in glob-style pattern format) which can be used in the commands section even if

src/tox/tox_env/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def pass_env_post_process(values: list[str]) -> list[str]:
154154
desc="always recreate virtual environment if this option is true, otherwise leave it up to tox",
155155
)
156156
self.conf.add_config(
157-
keys=["allowlist_externals", "whitelist_externals"],
157+
"allowlist_externals",
158158
of_type=List[str],
159159
default=[],
160160
desc="external command glob to allow calling",

0 commit comments

Comments
 (0)