Skip to content

Commit

Permalink
Merge pull request #445 from camunda-community-hub/renovate/black-24.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency black to v24
  • Loading branch information
dimastbk authored Aug 2, 2024
2 parents 39829f5 + 9ef68f6 commit de9bf65
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 29 deletions.
48 changes: 24 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pytest-asyncio = "^0.21.1"
pytest-grpc = "^0.8.0"
pytest-mock = "^3.11.1"
pylint = ">=2.17.5,<4.0.0"
black = "^23.7.0"
black = "^24.0.0"
mypy = "^1.10.0"
coveralls = "^3.3.1"
responses = ">=0.23.2,<0.26.0"
Expand Down
1 change: 1 addition & 0 deletions pyzeebe/channel/channel_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
https://docs.camunda.io/docs/product-manuals/zeebe/deployment-guide/operations/setting-up-a-cluster/#keep-alive-intervals
"""

from typing import Any, Dict, Optional, Tuple

GRPC_CHANNEL_OPTIONS = {"grpc.keepalive_time_ms": 45_000}
Expand Down
6 changes: 2 additions & 4 deletions pyzeebe/worker/task_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ def task(
after: Optional[List[TaskDecorator]] = None,
*,
single_value: Literal[False] = False,
) -> Callable[[Function[P, RD]], Function[P, RD]]:
...
) -> Callable[[Function[P, RD]], Function[P, RD]]: ...

@overload
def task(
Expand All @@ -78,8 +77,7 @@ def task(
*,
single_value: Literal[True],
variable_name: str,
) -> Callable[[Function[P, R]], Function[P, R]]:
...
) -> Callable[[Function[P, R]], Function[P, R]]: ...

def task(
self,
Expand Down

0 comments on commit de9bf65

Please sign in to comment.