Skip to content
Closed
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 @@ -19,14 +19,14 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.21
rev: v0.16.2
hooks:
- id: ruff-check
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.49.0
rev: v0.49.1
hooks:
- id: markdownlint-fix
args: [--config=pyproject.toml, --configPointer=/tool/markdownlint]
Expand Down
2 changes: 1 addition & 1 deletion repid/_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def _actor_run(

try:
result = await actor.middleware_pipeline(leaf, message, actor)
except Exception as exc: # noqa: BLE001
except Exception as exc:
exception = exc
logger.debug("actor.run.error", extra=logger_extra, exc_info=exc)
else:
Expand Down
4 changes: 2 additions & 2 deletions repid/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ class _RouterDefaults:
channel: Channel | str | _NotSet
middlewares: tuple[ActorMiddlewareT, ...]
timeout: float | _NotSet
keep_alive: bool | float | None | _NotSet
keep_alive: bool | float | _NotSet | None
run_in_process: bool | _NotSet
pool_executor: Executor | None | _NotSet
pool_executor: Executor | _NotSet | None
converter: type[ConverterT] | _NotSet

@classmethod
Expand Down