Added proper type hints to the `log_task_failure` signal handler and the `scheduler` task function to fix type checking errors.
- Added type annotations for all signal handler parameters
- Added `self: Task` parameter to scheduler function (required when bind=True)
- Added pylint directives for unused arguments
- Fixed logging to use % formatting instead of f-strings
- Added null check for sender before accessing .name attribute
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>