File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 66 lint :
77 strategy :
88 matrix :
9- cmd : [ "black", "ruff", "mypy" ]
9+ cmd : [ "black", "ruff-check ", "mypy" ]
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v5
Original file line number Diff line number Diff line change 4141 rev : v0.15.0
4242 hooks :
4343 - id : ruff-format
44- - id : ruff
44+ - id : ruff-check
4545 args : [ --fix, --unsafe-fixes ]
4646
4747 - repo : https://github.com/pre-commit/mirrors-mypy
Original file line number Diff line number Diff line change 1+ # mypy: ignore-errors
2+ # Temporary ignore, because of some mypy issues with pydantic models and typing.
3+
14from types import CoroutineType
25from typing import (
36 Any ,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ async def filter_tasks( # noqa: C901
3838 :param context: context of the execution, defaults to default_context
3939 :param skip_errors: skip errors of subtasks, defaults to False
4040 :raises TaskiqError: if any subtask has returned error.
41- :return: fitlered results.
41+ :return: filtered results.
4242 """
4343 ordered_ids = task_ids [:]
4444 tasks_set = set (task_ids )
@@ -56,7 +56,8 @@ async def filter_tasks( # noqa: C901
5656 filtered_results = []
5757 for task_id , value in zip (
5858 ordered_ids ,
59- results .return_value , # type: ignore
59+ results .return_value ,
60+ strict = False , # type: ignore
6061 ):
6162 result = await context .broker .result_backend .get_result (task_id )
6263 if result .is_err :
You can’t perform that action at this time.
0 commit comments