Skip to content
Open
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 stubs/Deprecated/deprecated/params.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ _R = TypeVar("_R")
class DeprecatedParams:
messages: dict[str, str]
category: type[Warning]
def __init__(self, param: str | dict[str, str], reason: str = "", category: type[Warning] = ...) -> None: ...
def __init__(self, param: str | dict[str, str], reason: str = "", category: type[Warning] = DeprecationWarning) -> None: ...
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
def __init__(self, param: str | dict[str, str], reason: str = "", category: type[Warning] = DeprecationWarning) -> None: ...
def __init__(self, param: str | dict[str, str], reason: str = "", category: type[Warning] = DeprecationWarning) -> None: ... # noqa: Y011

def populate_messages(self, param: str | dict[str, str], reason: str = "") -> None: ...
def check_params(
self, signature: Signature, *args: Any, **kwargs: Any # args and kwargs passing to Signature.bind method
Expand Down
Loading