Skip to content

Commit

Permalink
apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
zunda-arrow committed Sep 8, 2022
1 parent 14f5012 commit 5b41536
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sigparse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ def has_annotation(self) -> bool:
return not self.annotation is inspect._empty



def _convert_signiture(
param: inspect.Parameter, type_hints: dict[str, type[typing.Any]]
) -> Parameter:
Expand All @@ -110,8 +109,8 @@ def _convert_signiture(
def sigparse(func: typing.Callable[..., typing.Any]) -> list[Parameter]:
if sys.version_info >= (3, 10):
return [
_convert_signiture(param, {}) for param in
inspect.signature(func, eval_str=True).parameters.values()
_convert_signiture(param, {})
for param in inspect.signature(func, eval_str=True).parameters.values()
]

localns: dict[str, typing.Any] = {
Expand Down

0 comments on commit 5b41536

Please sign in to comment.