Skip to content

Commit 871a2ef

Browse files
committed
Fix docs
Signed-off-by: Bernát Gábor <[email protected]>
1 parent bcabaf1 commit 871a2ef

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: codespell
1616
additional_dependencies: ["tomli>=2.3"]
1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: "v2.8.0"
18+
rev: "v2.10.0"
1919
hooks:
2020
- id: pyproject-fmt
2121
- repo: https://github.com/abravalheri/validate-pyproject

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ dependencies = [
5252
"cachetools>=6.2",
5353
"chardet>=5.2",
5454
"colorama>=0.4.6",
55-
"filelock>=3.19.1",
55+
"filelock>=3.20",
5656
"packaging>=25",
5757
"platformdirs>=4.5",
5858
"pluggy>=1.6",
@@ -106,7 +106,7 @@ docs = [
106106
"furo>=2025.9.25",
107107
"sphinx>=8.2.3",
108108
"sphinx-argparse-cli>=1.20.1",
109-
"sphinx-autodoc-typehints>=3.4",
109+
"sphinx-autodoc-typehints>=3.5",
110110
"sphinx-copybutton>=0.5.2",
111111
"sphinx-inline-tabs>=2023.4.21",
112112
"sphinxcontrib-towncrier>=0.2.1a0",

src/tox/config/cli/env_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_env_var(key: str, of_type: type[Any]) -> tuple[Any, str] | None:
2525
value = os.environ[environ_key]
2626
origin = getattr(of_type, "__origin__", of_type.__class__)
2727
try:
28-
if origin in {list, list}:
28+
if origin is list:
2929
entry_type = of_type.__args__[0]
3030
result = [CONVERT.to(raw=v, of_type=entry_type, factory=None) for v in value.split(";")]
3131
else:

0 commit comments

Comments
 (0)