Category: Python type hints
The different uses of Python type hints
5 different things you might be using type annotations for, or might want to.
Test factory functions in Django
Patterns for creating model instances in Django project test suites, and some anti-patterns
Python Type Hints: case study on parsy
How I tried and failed to add static type checking to Parsy, and settled for type hints as documentation instead.
Raising exceptions or returning error objects in Python
How returning error objects can provide some advantages over raising exceptions in Python, such as for static type checking tools.