timbrel / GitSavvy

Full git and GitHub integration with Sublime Text
MIT License
1.9k stars 135 forks source link

Factor `run_new_daemon_thread` #1890

Closed kaste closed 3 months ago

kaste commented 3 months ago

The special __daemon argument of run_on_new_thread broke its type, or mypy's understanding of it.

Fix that by providing two functions. This simplifies the type and actually also looks nicer as the special, hidden keyword argument.