Skip to content

Commit 04270e2

Browse files
authored
Version 0.1.0 release (#29)
1 parent d3f889f commit 04270e2

File tree

4 files changed

+116
-127
lines changed

4 files changed

+116
-127
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ format:
77

88
.PHONY: lint
99
lint:
10-
poetry run mypy inspect313
11-
poetry run mypy --allow-incomplete-defs tests
10+
poetry run mypy .
1211

1312
.PHONY: unit
1413
unit:

inspect313/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def from_callable(
6161
eval_str: bool = False,
6262
) -> Self:
6363
"""Constructs Signature for the given callable object."""
64-
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore]
64+
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore, no-any-return]
6565
obj,
6666
sigcls=cls,
6767
follow_wrapper_chains=follow_wrapped,
@@ -81,7 +81,7 @@ def from_callable(
8181
skip_bound_arg: bool = True,
8282
) -> Self:
8383
"""Constructs Signature for the given callable object."""
84-
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore]
84+
return inspect._signature_from_callable( # type: ignore[attr-defined, unused-ignore, no-any-return]
8585
obj,
8686
sigcls=cls,
8787
follow_wrapper_chains=follow_wrapped,

0 commit comments

Comments
 (0)