diff --git a/pyproject.toml b/pyproject.toml index 01b5d75..2fc20e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,6 @@ mkdocs-techdocs-core = "^1.2.3" target-version = ['py311'] line-length = 88 include = '\.pyi?$' -safe = true [tool.isort] profile = "black" diff --git a/troncos/tracing/decorators.py b/troncos/tracing/decorators.py index 26dff58..c60d104 100644 --- a/troncos/tracing/decorators.py +++ b/troncos/tracing/decorators.py @@ -97,8 +97,7 @@ def trace_function( service: str | None = None, span_type: str | None = None, attributes: dict[str, str] | None = None, -) -> Callable[P, R]: - ... +) -> Callable[P, R]: ... @overload @@ -110,8 +109,7 @@ def trace_function( service: str | None = None, span_type: str | None = None, attributes: dict[str, str] | None = None, -) -> Callable[[Callable[P, R]], Callable[P, R]]: - ... +) -> Callable[[Callable[P, R]], Callable[P, R]]: ... def trace_function( @@ -153,8 +151,7 @@ def trace_class( service: str | None = None, span_type: str | None = None, attributes: dict[str, str] | None = None, -) -> Callable[[Type[TClass]], Type[TClass]]: - ... +) -> Callable[[Type[TClass]], Type[TClass]]: ... @overload @@ -165,8 +162,7 @@ def trace_class( service: str | None = None, span_type: str | None = None, attributes: dict[str, str] | None = None, -) -> Type[TClass]: - ... +) -> Type[TClass]: ... def trace_class(