closeio / tasktiger

Python task queue using Redis
MIT License
1.42k stars 80 forks source link

Add Type Checking #249

Closed AlecRosenbaum closed 1 year ago

AlecRosenbaum commented 1 year ago

Type checking is a good idea for a number of reasons. It helps with a number of bug classes, and also serves to document the code.

We should configure mypy for this project and enable type checking within CI. We should then gradually introduce typing to this project.

To be clear, this issue is targeting adding type checking on tasktiger's source code. NOT type checking for tasks functions implemented with tasktiger.

neob91-close commented 1 year ago

I'm closing this due to 901442b9860dd083391babe9d633c9ad64a6cc85 CC @tsx