Skip to content
Open
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
rev: v2.4.3
hooks:
- id: codespell
- repo: https://github.com/adamchainz/blacken-docs
Expand All @@ -13,7 +13,7 @@ repos:
hooks:
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
rev: v0.16.0
hooks:
- id: ruff-check
args: [ --fix ]
Expand All @@ -26,7 +26,7 @@ repos:
args: ["--ignore", "D001"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v2.0.0'
rev: 'v2.3.0'
hooks:
- id: mypy
additional_dependencies:
Expand Down
4 changes: 2 additions & 2 deletions src/execnet/rsync.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ def __init__(self, sourcedir, callback=None, verbose: bool = True) -> None:
tuple[
Channel,
(
None
| tuple[Literal["send"], tuple[list[str], bytes]]
tuple[Literal["send"], tuple[list[str], bytes]]
| tuple[Literal["list_done"], None]
| tuple[Literal["ack"], str]
| tuple[Literal["links"], None]
| tuple[Literal["done"], None]
| None
),
]
] = Queue()
Expand Down
1 change: 0 additions & 1 deletion src/execnet/script/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
#
2 changes: 1 addition & 1 deletion src/execnet/xspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __init__(self, string: str) -> None:
else:
setattr(self, key, value)

def __getattr__(self, name: str) -> None | bool | str:
def __getattr__(self, name: str) -> bool | str | None:
if name[0] == "_":
raise AttributeError(name)
return None
Expand Down