Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 29, 2024
1 parent 8188bc4 commit 2327006
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mypy/stubgenc.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@ def get_annotation(key: str) -> str | None:
arglist: list[ArgSig] = []

# Add the arguments to the signature
def add_args(args: list[str], get_default_value: Callable[[int, str], object | None]) -> None:
def add_args(
args: list[str], get_default_value: Callable[[int, str], object | None]
) -> None:
for i, arg in enumerate(args):
# Check if the argument has a default value
if default_value := get_default_value(i, arg):
Expand Down

0 comments on commit 2327006

Please sign in to comment.