Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored Dec 16, 2024
2 parents f12ecb8 + ede8d83 commit 35d9aac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
pytest tests
python -m coverage xml
- name: Upload coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions aiojobs/aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ async def wrapper(request_or_view: _RequestView) -> _T: # type: ignore[misc]
# Class Based View decorated.
request = request_or_view.request
else:
# https://github.com/python/mypy/issues/13896
request = request_or_view # type: ignore[assignment]
request = request_or_view

job = await spawn(request, coro(request_or_view))
return await job.wait()
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==8.3.2
pytest==8.3.4
pytest-aiohttp==1.0.5
pytest-cov==5.0.0
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r ci.txt
-r doc.txt
mypy==1.11.1
pre-commit==3.8.0
mypy==1.13.0
pre-commit==4.0.1
pytest-sugar==1.0.0

0 comments on commit 35d9aac

Please sign in to comment.