Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#293)
Browse files Browse the repository at this point in the history
* [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>
  • Loading branch information
pre-commit-ci[bot] authored Aug 27, 2024
1 parent 298987e commit d492bba
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 11 deletions.
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

0 comments on commit d492bba

Please sign in to comment.