Skip to content

Commit 993be1c

Browse files
all in on hatch + pre-commit update
1 parent ae8f47f commit 993be1c

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,8 @@ repos:
3333
- pytest
3434
- types-pywin32
3535
- types-gevent
36+
37+
- repo: https://github.com/tox-dev/pyproject-fmt
38+
rev: "0.4.1"
39+
hooks:
40+
- id: pyproject-fmt

doc/example/test_funcmultiplier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
def test_function():
2-
import funcmultiplier
2+
import funcmultiplier # type: ignore[import]

src/execnet/script/socketserverservice.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import sys
1010
import threading
1111

12-
import servicemanager
13-
import win32event
14-
import win32evtlogutil
15-
import win32service
16-
import win32serviceutil
12+
import servicemanager # type: ignore[import]
13+
import win32event # type: ignore[import]
14+
import win32evtlogutil # type: ignore[import]
15+
import win32service # type: ignore[import]
16+
import win32serviceutil # type: ignore[import]
1717

1818
from execnet.gateway_base import get_execmodel
1919

src/execnet/xspec.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class XSpec:
3030
vagrant_ssh: str | None = None
3131
via: str | None = None
3232

33+
env: dict[str, str]
34+
3335
def __init__(self, string: str) -> None:
3436
self._spec = string
3537
self.env = {}

0 commit comments

Comments
 (0)