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 Aug 28, 2023
1 parent 0485276 commit 19f3832
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mypy/stubgenc.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,10 @@ def generate_c_function_stub(
elif is_staticmethod:
output.append("@staticmethod")
output_signature = "def {function}({args}) -> {ret}:".format(
function=name,
args=", ".join(args),
ret=strip_or_import(signature.ret_type, module, known_modules, imports),
)
function=name,
args=", ".join(args),
ret=strip_or_import(signature.ret_type, module, known_modules, imports),
)
if include_docstrings and docstr:
docstr_quoted = mypy.util.quote_docstring(docstr.strip())
docstr_indented = "\n ".join(docstr_quoted.split("\n"))
Expand Down

0 comments on commit 19f3832

Please sign in to comment.