Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Typed serializers * More typing in serializers and typed compressors * Typed CacheKey and removed unused Union * Sorted inputs * Restored init method of BaseSerializer * Added type hints for DefaultClient * Blacked DefaultClient * isorted imports in DefaultClient * Update django_redis/serializers/pickle.py Co-authored-by: Jon Dufresne <[email protected]> * More typing in default client * Ignored type of lzma import * Started typing cache and pool * Solved some mypy errors and little refactoring especially on tried argument * black formatted the arguments indentation * Added some typing HashRing and resolved an error of mypy in DefaultClient * Removed unusued import in default.py * Ditched relative imports in client/default.py * Finally black and isort are happy after merge * Restored relative imports in client/default.py * Resolved merge conflict in lz4 and rebased against master * Added django-stubs to lint dependencies * Ignoring typing of lz4 * Fixed sentinel typing * Fixed isort for pool.py * Many new types and fixed types. Moved # tyep: ignore to setup.cfg * adjust mypy config * upload mypy coverage to codecov.io * set flags on the codecov.io upload * add minimal codecov.yml configuration * only upload coverage for mypy lint task * Typed serializers * More typing in serializers and typed compressors * Typed CacheKey and removed unused Union * Sorted inputs * Restored init method of BaseSerializer * Added type hints for DefaultClient * Blacked DefaultClient * isorted imports in DefaultClient * Update django_redis/serializers/pickle.py Co-authored-by: Jon Dufresne <[email protected]> * More typing in default client * Ignored type of lzma import * Started typing cache and pool * Solved some mypy errors and little refactoring especially on tried argument * black formatted the arguments indentation * Added some typing HashRing and resolved an error of mypy in DefaultClient * Removed unusued import in default.py * Ditched relative imports in client/default.py * Finally black and isort are happy after merge * Restored relative imports in client/default.py * Resolved merge conflict in lz4 and rebased against master * Added django-stubs to lint dependencies * Ignoring typing of lz4 * Fixed sentinel typing * Fixed isort for pool.py * Many new types and fixed types. Moved # tyep: ignore to setup.cfg * More types in hash ring * Removed redundant parenthesis * Fixed Iterator * Made black happy * Added more types to hashring Co-authored-by: Jon Dufresne <[email protected]> Co-authored-by: Terence D. Honles <[email protected]>
- Loading branch information