Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependency locks #491

Merged
merged 2 commits into from
Feb 2, 2025
Merged
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
2 changes: 1 addition & 1 deletion tests/test_async_callback_di.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ async def test_call_with_async_di_prioritises_defaults_over_annotations(context:
mock_callback = mock.AsyncMock()

async def dependency(
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback)
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback),
) -> str:
assert result is mock_callback.return_value
return "sexual catgirls"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_async_callback_di_future_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async def test_call_with_async_di_prioritises_defaults_over_annotations(context:
mock_callback = mock.AsyncMock()

async def dependency(
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback)
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback),
) -> str:
assert result is mock_callback.return_value
return "sexual catgirls"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_callback_di.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_call_with_di_prioritises_defaults_over_annotations(context: alluka.Cont
mock_callback = mock.Mock()

def dependency(
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback)
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback),
) -> str:
assert result is mock_callback.return_value
return "sexual catgirls"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_callback_di_future_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_call_with_di_prioritises_defaults_over_annotations(context: alluka.Cont
mock_callback = mock.Mock()

def dependency(
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback)
result: typing.Annotated[float, alluka.inject(type=123)] = alluka.inject(callback=mock_callback),
) -> str:
assert result is mock_callback.return_value
return "sexual catgirls"
Expand Down
Loading
Loading