Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#28) Ensure sigterm is handled by coverage #63

Merged
merged 1 commit into from
Jul 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
source = src/
parallel = True
concurrency = multiprocessing
sigterm = True
2 changes: 1 addition & 1 deletion src/aiotaskq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from .interfaces import ConcurrencyType, IConcurrencyManager, IPubSub
from .pubsub import PubSub

if t.TYPE_CHECKING:
if t.TYPE_CHECKING: # pragma: no cover
from .task import Task

logging.basicConfig(level=logging.INFO)
Expand Down