Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Nov 29, 2024
1 parent 8fe64fc commit 02ca598
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ node_modules/
results/
site/
target/
venv/

# files
**/*.so
Expand Down
2 changes: 1 addition & 1 deletion backgrounder/concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def enforce_async_callable(func: Callable[..., Any]) -> Callable[..., Awaitable[
"""
Enforces the callable to be async by returning an AsyncCallable.
"""
return func if is_async_callable(func) else AsyncCallable(func) # type:ignore
return func if is_async_callable(func) else AsyncCallable(func)


class AsyncCallable:
Expand Down

0 comments on commit 02ca598

Please sign in to comment.