Skip to content

Commit 224d026

Browse files
Merge pull request #1110 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents b417c79 + 569cb96 commit 224d026

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
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.5.2"
3+
rev: "v0.5.4"
44
hooks:
55
- id: ruff
66
args: ["--fix"]
@@ -23,7 +23,7 @@ repos:
2323
language: python
2424
additional_dependencies: [pygments, restructuredtext_lint]
2525
- repo: https://github.com/pre-commit/mirrors-mypy
26-
rev: v1.10.1
26+
rev: v1.11.0
2727
hooks:
2828
- id: mypy
2929
files: ^(src/|testing/)

src/xdist/looponfail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def init_worker_session(
166166
import sys
167167

168168
outchannel = channel.gateway.newchannel()
169-
sys.stdout = sys.stderr = outchannel.makefile("w") # type: ignore[assignment]
169+
sys.stdout = sys.stderr = outchannel.makefile("w")
170170
channel.send(outchannel)
171171
# prune sys.path to not contain relative paths
172172
newpaths = []

0 commit comments

Comments
 (0)