mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 23:11:09 +00:00
551c65766d
* makes LRUCache constructor concrete * fixes bug in dq_removal in other/least_recently_used + deque.remove() operates by value not index * [mypy] Annotates other/least_recently_used over generic type + clean-up: rename key_reference to match type. * [mypy] updates example to demonstrate LRUCache with complex type * Adds doctest to other/least_recently_used * mypy.ini: Remove exclude = (other/least_recently_used.py) * Various mypy configs * Delete mypy.ini * Add mypy to .pre-commit-config.yaml * mypy --ignore-missing-imports --install-types --non-interactive . * mypy v0.910 * Pillow=8.3.7 * Pillow==8.3.7 * Pillow==8.3.2 * Update .pre-commit-config.yaml * Update requirements.txt * Update pre-commit.yml * --install-types # See mirrors-mypy README.md Co-authored-by: Christian Clauss <cclauss@me.com> |
||
---|---|---|
.. | ||
__init__.py | ||
activity_selection.py | ||
alternative_list_arrange.py | ||
check_strong_password.py | ||
davisb_putnamb_logemannb_loveland.py | ||
dijkstra_bankers_algorithm.py | ||
doomsday.py | ||
fischer_yates_shuffle.py | ||
gauss_easter.py | ||
graham_scan.py | ||
greedy.py | ||
least_recently_used.py | ||
lfu_cache.py | ||
linear_congruential_generator.py | ||
lru_cache.py | ||
magicdiamondpattern.py | ||
nested_brackets.py | ||
password_generator.py | ||
scoring_algorithm.py | ||
sdes.py | ||
tower_of_hanoi.py |