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

Refactoring: Add global context and update tests #14

Merged
merged 7 commits into from
Jan 3, 2025

Conversation

RafaelWO
Copy link
Owner

@RafaelWO RafaelWO commented Jan 2, 2025

  • ♻️ Don't cache function _cache.get_latest_cache_file()
  • ♻️ Make release data and rich console globally available
    • Move property PythonReleases.as_list to function .to_list() and don't cache it
  • 🔊 Add log message when storing question score
  • ♻️ Add repr to PythonRelease and Question
  • ♻️ Refactor tests for guess to use params instead of random
  • 🧪 Add test for VersionLike comparison

@RafaelWO RafaelWO force-pushed the change/refactor-globals branch from 8d88410 to f400f28 Compare January 3, 2025 17:46
@RafaelWO RafaelWO changed the title Change/refactor globals Refactoring: Add global context and update tests Jan 3, 2025
@RafaelWO RafaelWO force-pushed the change/refactor-globals branch from f400f28 to 646d0c6 Compare January 3, 2025 17:48
@RafaelWO RafaelWO marked this pull request as ready for review January 3, 2025 18:04
@RafaelWO RafaelWO merged commit bb63eaf into main Jan 3, 2025
6 checks passed
@RafaelWO RafaelWO deleted the change/refactor-globals branch January 3, 2025 19:21
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.

1 participant