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

chore(deps): bump ruff from 0.8.2 to 0.8.3 #502

Merged
merged 2 commits into from
Jan 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 lightbulb/commands/groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
command._command_data.parent = self # type: ignore[reportGeneralTypeIssues]
return command

def _inner(_command: CommandT) -> CommandT: # noqa: RUF052
def _inner(_command: CommandT) -> CommandT:

Check warning on line 91 in lightbulb/commands/groups.py

View check run for this annotation

Codecov / codecov/patch

lightbulb/commands/groups.py#L91

Added line #L91 was not covered by tests
return self.register(_command)

return _inner
Expand Down
2 changes: 1 addition & 1 deletion lightbulb/components/menus.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def __init__(
menu: Menu,
interaction: hikari.ComponentInteraction,
component: base.BaseComponent[special_endpoints.MessageActionRowBuilder],
_timeout: async_timeout.Timeout, # noqa: RUF052
_timeout: async_timeout.Timeout,
) -> None:
super().__init__()

Expand Down
4 changes: 2 additions & 2 deletions lightbulb/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class RestAutocompleteContext(AutocompleteContext[T]):
def __init__(
self,
*args: t.Any,
_initial_response_callback: Callable[ # noqa: RUF052
_initial_response_callback: Callable[
[hikari.api.InteractionAutocompleteBuilder],
None,
],
Expand Down Expand Up @@ -518,7 +518,7 @@ class RestContext(Context):
def __init__(
self,
*args: t.Any,
_initial_response_callback: Callable[ # noqa: RUF052
_initial_response_callback: Callable[
[hikari.api.InteractionResponseBuilder],
None,
],
Expand Down
4 changes: 2 additions & 2 deletions lightbulb/di/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,8 @@ def __init__(
self,
func: Callable[..., Awaitable[t.Any]],
self_: t.Any = None,
_cached_pos_or_kw_params: list[tuple[str, t.Any]] | None = None, # noqa: RUF052
_cached_kw_only_params: dict[str, t.Any] | None = None, # noqa: RUF052
_cached_pos_or_kw_params: list[tuple[str, t.Any]] | None = None,
_cached_kw_only_params: dict[str, t.Any] | None = None,
) -> None:
self._func = func
self._self: t.Any = self_
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dev = ["nox==2024.10.9"]
"sphinxext-opengraph>=0.9.1, <1",
"sphinxcontrib-mermaid>=0.9.2, <2",
]
"dev.format" = ["ruff==0.8.2"]
"dev.format" = ["ruff==0.8.3"]
"dev.typecheck" = [
"pyright==1.1.390",
"typing-extensions>=4.12.2, <5",
Expand Down
Loading