Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Guðmundur Björn Birkisson committed Jan 26, 2024
1 parent 97e8062 commit 388eb92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ mkdocs-techdocs-core = "^1.2.3"
target-version = ['py311']
line-length = 88
include = '\.pyi?$'
safe = true

[tool.isort]
profile = "black"
Expand Down
12 changes: 4 additions & 8 deletions troncos/tracing/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down Expand Up @@ -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
Expand All @@ -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(
Expand Down

0 comments on commit 388eb92

Please sign in to comment.