Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #293

Merged
merged 2 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
hooks:
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.7
rev: v0.6.2
hooks:
- id: ruff
args: [ --fix ]
Expand All @@ -26,7 +26,7 @@ repos:
args: ["--ignore", "D001"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.11.1'
rev: 'v1.11.2'
hooks:
- id: mypy
additional_dependencies:
Expand Down
3 changes: 2 additions & 1 deletion testing/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
from typing import Generator
from typing import Iterator

import execnet
import pytest

import execnet
from execnet.gateway import Gateway
from execnet.gateway_base import ExecModel
from execnet.gateway_base import WorkerPool
Expand Down
3 changes: 2 additions & 1 deletion testing/test_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
from typing import Any
from typing import Callable

import execnet
import pytest

import execnet
from execnet import gateway
from execnet import gateway_base
from execnet import gateway_io
Expand Down
1 change: 1 addition & 0 deletions testing/test_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import time

import pytest

from execnet.gateway import Gateway
from execnet.gateway_base import Channel

Expand Down
3 changes: 2 additions & 1 deletion testing/test_gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
from textwrap import dedent
from typing import Callable

import execnet
import pytest

import execnet
from execnet import gateway_base
from execnet import gateway_io
from execnet.gateway import Gateway
Expand Down
3 changes: 2 additions & 1 deletion testing/test_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
from time import sleep
from typing import Callable

import execnet
import pytest

import execnet
from execnet import XSpec
from execnet.gateway import Gateway
from execnet.gateway_base import Channel
Expand Down
3 changes: 2 additions & 1 deletion testing/test_rsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
import sys
import types

import execnet
import pytest

import execnet
from execnet import RSync
from execnet.gateway import Gateway

Expand Down
3 changes: 2 additions & 1 deletion testing/test_serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
import sys
from pathlib import Path

import execnet
import pytest

import execnet

# We use the execnet folder in order to avoid triggering a missing apipkg.
pyimportdir = os.fspath(Path(execnet.__file__).parent)

Expand Down
5 changes: 3 additions & 2 deletions testing/test_termination.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
import sys
from typing import Callable

import execnet
import pytest
from test_gateway import TESTTIMEOUT

import execnet
from execnet.gateway import Gateway
from execnet.gateway_base import ExecModel
from execnet.gateway_base import WorkerPool
from test_gateway import TESTTIMEOUT

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

Expand Down
1 change: 1 addition & 0 deletions testing/test_threadpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from pathlib import Path

import pytest

from execnet.gateway_base import ExecModel
from execnet.gateway_base import WorkerPool

Expand Down
3 changes: 2 additions & 1 deletion testing/test_xspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@
from pathlib import Path
from typing import Callable

import execnet
import pytest

import execnet
from execnet import XSpec
from execnet.gateway import Gateway
from execnet.gateway_io import popen_args
Expand Down