1. 16 12月, 2021 2 次提交
  2. 29 11月, 2021 1 次提交
  3. 24 11月, 2021 1 次提交
  4. 17 11月, 2021 2 次提交
  5. 16 11月, 2021 1 次提交
    • A
      [Mypy] fix other/least_recently_used (#5814) · 551c6576
      Andrew Grangaard 提交于
      * 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: NChristian Clauss <cclauss@me.com>
      551c6576
  6. 13 11月, 2021 1 次提交
  7. 11 11月, 2021 3 次提交
    • L
      Add README files 2/8 (#5766) · 6314195b
      Leoriem-code 提交于
      * add 5 README files
      
      * empty commit to (hopefully) get rid of the `test-are-failling` label
      
      * Update ciphers/README.md
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Update conversions/README.md
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Update cellular_automata/README.md
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Update computer_vision/README.md
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Update conversions/README.md
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      
      * Update compression/README.md
      Co-authored-by: NJohn Law <johnlaw.po@gmail.com>
      6314195b
    • A
      [mypy] Annotate other/lru_cache and other/lfu_cache (#5755) · f36ee034
      Andrew Grangaard 提交于
      * Adds repr and doctest of current behavior linkedlist in other/lru_cache
      
      * Blocks removal of head or tail of double linked list
      
      * clarifies add() logic for double linked list in other/lru_cache
      
      * expands doctests to compare cache and lru cache
      
      * [mypy] annotates vars for other/lru_cache
      
      * [mypy] Annotates lru_cache decorator for other/lru_cache
      
      * Higher order functions require a verbose Callable annotation
      
      * [mypy] Makes LRU_Cache generic over key and value types for other/lru_cache
      
      + no reason to force int -> int
      
      * [mypy] makes decorator a classmethod for access to class generic types
      
      * breaks two long lines in doctest for other/lru_cache
      
      * simplifies boundary test remove() for other/lru_cache
      
      * [mypy] Annotates, adds doctests, and makes Generic other/lfu_cache
      
      See also commits to other/lru_cache which guided these
      
      * [mypy] annotates cls var in other/lfu_cache
      
      * cleans up items from code review for lfu_cache and lru_cache
      
      * [mypy] runs mypy on lfu_cache and lru_cache
      f36ee034
    • J
      7e81551d
  8. 10 11月, 2021 2 次提交
  9. 09 11月, 2021 6 次提交
  10. 08 11月, 2021 2 次提交
    • D
      [mypy] Fix type annotations in `graphs/boruvka.py` (#5794) · ac4bdfd6
      Dylan Buchi 提交于
      * Fix type annotations in boruvka.py
      
      * Remove graphs/boruvka.py|
      
      * updating DIRECTORY.md
      Co-authored-by: Ngithub-actions <${GITHUB_ACTOR}@users.noreply.github.com>
      ac4bdfd6
    • K
      ADD the algorithms of image augmentation (#5792) · 2f6a7ae1
      Khoi Vo 提交于
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * ADD the algorithms of image augmentation
      
      * UPDATE format code
      
      * UPDATE format and recode structure
      
      * UPDATE format import library
      
      * UPDATE code structure
      
      * Fix all checks have failded
      
      * FIX variable format
      
      * FIX variable format
      
      * FIX variable format
      
      * FIX code structure
      
      * FIX code structure
      
      * FIX code structure
      
      * FIX code structure
      2f6a7ae1
  11. 07 11月, 2021 3 次提交
    • R
      [mypy] Fix type annotations for maths directory (#5782) · a9846523
      Rohan R Bharadwaj 提交于
      * [mypy] Fix annotations in `maths/series/p_series.py`
      
      * Update p_series.py
      
      * Update p_series.py
      
      * Remove from excluded in mypy.ini
      
      * Type annotation for series
      
      * Annotate maths/proth_number.py (properly)
      
      * Remove from excluded in mypy.ini
      
      * Annotate average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Remove from excluded in mypy.ini
      
      * Fix annotations in gamma_recursive.py
      
      * Remove from excluded in mypy.ini
      
      * Annotations for geometric_series.py
      
      * Update geometric_series.py
      
      * Update mypy.ini
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update average_mode.py
      
      * Update mypy.ini
      
      * Update mypy.ini
      
      * Update mypy.ini
      
      * Update average_mode.py
      
      * Update proth_number.py
      
      * Update average_mode.py
      
      * Update gamma_recursive.py
      
      * Update proth_number.py
      
      * Update mypy.ini
      
      * Update geometric_series.py
      
      * Update average_mode.py
      
      * Update proth_number.py
      
      * Update geometric_series.py
      
      * Update geometric_series.py
      
      * Update geometric_series.py
      
      * Update p_series.py
      
      * Update geometric_series.py
      
      * Update p_series.py
      
      * Update p_series.py
      
      * Update geometric_series.py
      
      * Update p_series.py
      
      * Update p_series.py
      
      * Remove data_structures/stacks/next_greater_element.py|
      Co-authored-by: NChristian Clauss <cclauss@me.com>
      a9846523
    • R
      Add equated_monthly_installments.py in Financials (#5775) · db5aa1d1
      Rohan R Bharadwaj 提交于
      * Add equated_monthly_installments.py in Financials
      
      * Formatting
      
      * More formatting, Descriptive names
      
      * Errors with name change
      
      * Formatting
      
      * Formatting, Naming Error
      
      * dedent
      
      * Update DIRECTORY.md
      db5aa1d1
    • R
      [mypy] Fix `other/fischer_yates_shuffle.py` (#5789) · accee50c
      Rohan R Bharadwaj 提交于
      * [mypy] Fix `other/fischer_yates_shuffle.py`
      
      * Update mypy.ini
      accee50c
  12. 06 11月, 2021 4 次提交
  13. 05 11月, 2021 4 次提交
  14. 04 11月, 2021 8 次提交