Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lrucache #295

Merged
merged 8 commits into from
May 18, 2024
Merged

Lrucache #295

merged 8 commits into from
May 18, 2024

Commits on May 15, 2024

  1. Fix type: ignore in module

    cvzi committed May 15, 2024
    Configuration menu
    Copy the full SHA
    732a796 View commit details
    Browse the repository at this point in the history
  2. Improve tests

    * move pytest import mode to importlib
    * move helper functions for tests into utils/testutils.py
    * replace private `_EMOJI_UNICODE` in tests
    * add option to pytest to run tests in random order with `pytest --shuffle`
    cvzi committed May 15, 2024
    Configuration menu
    Copy the full SHA
    4ebefb4 View commit details
    Browse the repository at this point in the history
  3. Run tests in random order

    Upgrade to ubuntu 22.04
    cvzi committed May 15, 2024
    Configuration menu
    Copy the full SHA
    8b9a9d7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    305c641 View commit details
    Browse the repository at this point in the history
  5. Use lru_cache to reverse the EMOJI_DATA dictionary on demand

    i.e. get an emoji from a shortcode/:emoji_name:
    cvzi committed May 15, 2024
    Configuration menu
    Copy the full SHA
    0a3f747 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2024

  1. 2 Configuration menu
    Copy the full SHA
    42c27f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2e28df8 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Revert using pytest's importlib mode

    it is not necessary after all
    cvzi committed May 17, 2024
    Configuration menu
    Copy the full SHA
    39f00a8 View commit details
    Browse the repository at this point in the history