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

Code improvements for type hints #294

Closed
wants to merge 4 commits into from

Conversation

cvzi
Copy link
Contributor

@cvzi cvzi commented May 15, 2024

  • Fix some of the type: ignore in core.py and tokenizer.py
  • Change pytest's import mode to importlib in pyproject.toml (necessary for next point)
  • Move helper functions from tests into separate file utils/testutils.py
  • Replace usage of private _EMOJI_UNICODE in tests
  • Add an option to run tests in random order with pytest --shuffle
  • Run tests in normal and random order in CI
  • Upgrade CI to ubuntu-22.04
  • Add pypy-3.10 to CI tests, we have listed pypy as supported, so we should test it

cvzi added 4 commits May 15, 2024 22:19
* 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`
Upgrade to ubuntu 22.04
@cvzi cvzi closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant