Commit Graph

11 Commits (ab3f1b3b53cdb4e2751b3e8c5eb052d7475be58f)

Author SHA1 Message Date
David Robertson 1026776380
mypy plugin to check `@cached` return types (#14911) 2 years ago
Patrick Cloke aa483cb4c9
Update ruff config (#16283) 2 years ago
Patrick Cloke 1f55c04cbc
Improve type hints for cached decorator. (#15658) 3 years ago
Mathieu Velten 6bd8763804
Add cache invalidation across workers to module API (#13667) 3 years ago
David Robertson 5331fb5b47
allow `on_invalidate=None` in `@cached` methods (#12769) 4 years ago
David Robertson 30c8e7e408
Make `scripts-dev` pass `mypy --disallow-untyped-defs` (#12356) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 5 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 5 years ago
Patrick Cloke 5d34f40d49
Add type hints to the push module. (#8901) 5 years ago
Erik Johnston 22eeb6bc54
Fix cache call signature to accept `on_invalidate`. (#8684) 5 years ago
Erik Johnston 208e1d3eb3
Fix typing for `@cached` wrapped functions (#8240) 6 years ago