Skip to content

Commit

Permalink
Version 0.1.0 release (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Mar 9, 2024
1 parent d3f889f commit 04270e2
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 127 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ format:

.PHONY: lint
lint:
poetry run mypy inspect313
poetry run mypy --allow-incomplete-defs tests
poetry run mypy .

.PHONY: unit
unit:
Expand Down
4 changes: 2 additions & 2 deletions inspect313/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def from_callable(
eval_str: bool = False,
) -> Self:
"""Constructs Signature for the given callable object."""
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore]
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore, no-any-return]
obj,
sigcls=cls,
follow_wrapper_chains=follow_wrapped,
Expand All @@ -81,7 +81,7 @@ def from_callable(
skip_bound_arg: bool = True,
) -> Self:
"""Constructs Signature for the given callable object."""
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore]
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore, no-any-return]
obj,
sigcls=cls,
follow_wrapper_chains=follow_wrapped,
Expand Down
Loading

0 comments on commit 04270e2

Please sign in to comment.