Skip to content

Commit 796f2b5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 41956d1 commit 796f2b5

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎src/execnet/rsync.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ def __init__(self, sourcedir, callback=None, verbose: bool = True) -> None:
3939
tuple[
4040
Channel,
4141
(
42-
None
43-
| tuple[Literal["send"], tuple[list[str], bytes]]
42+
tuple[Literal["send"], tuple[list[str], bytes]]
4443
| tuple[Literal["list_done"], None]
4544
| tuple[Literal["ack"], str]
4645
| tuple[Literal["links"], None]
4746
| tuple[Literal["done"], None]
47+
| None
4848
),
4949
]
5050
] = Queue()

‎src/execnet/script/__init__.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
#

‎src/execnet/xspec.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(self, string: str) -> None:
4949
else:
5050
setattr(self, key, value)
5151

52-
def __getattr__(self, name: str) -> None | bool | str:
52+
def __getattr__(self, name: str) -> bool | str | None:
5353
if name[0] == "_":
5454
raise AttributeError(name)
5555
return None

0 commit comments

Comments
 (0)