Skip to content

Commit 150b546

Browse files
authored
fix(types): tighten type for venv_backend (#967)
1 parent a0e1323 commit 150b546

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

nox/_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def __init__(
7171
python: _typing.Python = None,
7272
reuse_venv: bool | None = None,
7373
name: str | None = None,
74-
venv_backend: Any = None,
74+
venv_backend: str | None = None,
7575
venv_params: Sequence[str] = (),
7676
should_warn: Mapping[str, Any] | None = None,
7777
tags: Sequence[str] | None = None,

nox/registry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def session_decorator(
4949
py: Python | None = ...,
5050
reuse_venv: bool | None = ...,
5151
name: str | None = ...,
52-
venv_backend: Any | None = ...,
52+
venv_backend: str | None = ...,
5353
venv_params: Sequence[str] = ...,
5454
tags: Sequence[str] | None = ...,
5555
*,
@@ -65,7 +65,7 @@ def session_decorator(
6565
py: Python | None = None,
6666
reuse_venv: bool | None = None,
6767
name: str | None = None,
68-
venv_backend: Any | None = None,
68+
venv_backend: str | None = None,
6969
venv_params: Sequence[str] = (),
7070
tags: Sequence[str] | None = None,
7171
*,

0 commit comments

Comments
 (0)