Merge pull request #1110 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: "v0.5.2"
|
rev: "v0.5.4"
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: ["--fix"]
|
args: ["--fix"]
|
||||||
@@ -23,7 +23,7 @@ repos:
|
|||||||
language: python
|
language: python
|
||||||
additional_dependencies: [pygments, restructuredtext_lint]
|
additional_dependencies: [pygments, restructuredtext_lint]
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.10.1
|
rev: v1.11.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
files: ^(src/|testing/)
|
files: ^(src/|testing/)
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ def init_worker_session(
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
outchannel = channel.gateway.newchannel()
|
outchannel = channel.gateway.newchannel()
|
||||||
sys.stdout = sys.stderr = outchannel.makefile("w") # type: ignore[assignment]
|
sys.stdout = sys.stderr = outchannel.makefile("w")
|
||||||
channel.send(outchannel)
|
channel.send(outchannel)
|
||||||
# prune sys.path to not contain relative paths
|
# prune sys.path to not contain relative paths
|
||||||
newpaths = []
|
newpaths = []
|
||||||
|
|||||||
Reference in New Issue
Block a user