Skip to content

Commit bda3903

Browse files
[pre-commit.ci] pre-commit autoupdate (#1365)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.22 → v0.16.0](astral-sh/ruff-pre-commit@v0.15.22...v0.16.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent e27d3bb commit bda3903

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.pre-commit-config.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: "v0.15.22"
3+
rev: "v0.16.0"
44
hooks:
55
- id: ruff
66
args: ["--fix"]

‎src/xdist/remote.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(self, config: pytest.Config, channel: execnet.Channel) -> None:
120120
self.log = Producer(f"worker-{self.workerid}", enabled=config.option.debug)
121121
self.channel = channel
122122
self.torun = TestQueue(self.channel.gateway.execmodel)
123-
self.nextitem_index: int | None | Literal[Marker.SHUTDOWN] = None
123+
self.nextitem_index: int | Literal[Marker.SHUTDOWN] | None = None
124124
config.pluginmanager.register(self)
125125

126126
def sendevent(self, name: str, **kwargs: object) -> None:

0 commit comments

Comments
 (0)