Skip to content

Commit d492bba

Browse files
[pre-commit.ci] pre-commit autoupdate (#293)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 → v0.6.2](astral-sh/ruff-pre-commit@v0.5.7...v0.6.2) - [github.com/pre-commit/mirrors-mypy: v1.11.1 → v1.11.2](pre-commit/mirrors-mypy@v1.11.1...v1.11.2) * [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 298987e commit d492bba

11 files changed

+21
-11
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repos:
1313
hooks:
1414
- id: check-yaml
1515
- repo: https://github.com/astral-sh/ruff-pre-commit
16-
rev: v0.5.7
16+
rev: v0.6.2
1717
hooks:
1818
- id: ruff
1919
args: [ --fix ]
@@ -26,7 +26,7 @@ repos:
2626
args: ["--ignore", "D001"]
2727

2828
- repo: https://github.com/pre-commit/mirrors-mypy
29-
rev: 'v1.11.1'
29+
rev: 'v1.11.2'
3030
hooks:
3131
- id: mypy
3232
additional_dependencies:

testing/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
from typing import Generator
88
from typing import Iterator
99

10-
import execnet
1110
import pytest
11+
12+
import execnet
1213
from execnet.gateway import Gateway
1314
from execnet.gateway_base import ExecModel
1415
from execnet.gateway_base import WorkerPool

testing/test_basics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
from typing import Any
1313
from typing import Callable
1414

15-
import execnet
1615
import pytest
16+
17+
import execnet
1718
from execnet import gateway
1819
from execnet import gateway_base
1920
from execnet import gateway_io

testing/test_channel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import time
88

99
import pytest
10+
1011
from execnet.gateway import Gateway
1112
from execnet.gateway_base import Channel
1213

testing/test_gateway.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
from textwrap import dedent
1313
from typing import Callable
1414

15-
import execnet
1615
import pytest
16+
17+
import execnet
1718
from execnet import gateway_base
1819
from execnet import gateway_io
1920
from execnet.gateway import Gateway

testing/test_multi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
from time import sleep
99
from typing import Callable
1010

11-
import execnet
1211
import pytest
12+
13+
import execnet
1314
from execnet import XSpec
1415
from execnet.gateway import Gateway
1516
from execnet.gateway_base import Channel

testing/test_rsync.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
import sys
55
import types
66

7-
import execnet
87
import pytest
8+
9+
import execnet
910
from execnet import RSync
1011
from execnet.gateway import Gateway
1112

testing/test_serializer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
import sys
66
from pathlib import Path
77

8-
import execnet
98
import pytest
109

10+
import execnet
11+
1112
# We use the execnet folder in order to avoid triggering a missing apipkg.
1213
pyimportdir = os.fspath(Path(execnet.__file__).parent)
1314

testing/test_termination.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
import sys
77
from typing import Callable
88

9-
import execnet
109
import pytest
10+
from test_gateway import TESTTIMEOUT
11+
12+
import execnet
1113
from execnet.gateway import Gateway
1214
from execnet.gateway_base import ExecModel
1315
from execnet.gateway_base import WorkerPool
14-
from test_gateway import TESTTIMEOUT
1516

1617
execnetdir = pathlib.Path(execnet.__file__).parent.parent
1718

testing/test_threadpool.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pathlib import Path
33

44
import pytest
5+
56
from execnet.gateway_base import ExecModel
67
from execnet.gateway_base import WorkerPool
78

0 commit comments

Comments
 (0)