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

✨ Add guessing feature #13

Merged
merged 7 commits into from
Jan 2, 2025
Merged

✨ Add guessing feature #13

merged 7 commits into from
Jan 2, 2025

Conversation

RafaelWO
Copy link
Owner

@RafaelWO RafaelWO commented Dec 27, 2024

The new guess subcommand enables users to test their knowledge about Python releases by answering questions based on the release cycle data. For example, when was which release published or who was the release manager. The answers are stored in a CSV file in the user data directory.

Main Changes

  • ✨ Make versions compatible
    • Implement comparison functions for version objects PythonVersion and PythonRelease.
  • ✨ Add guessing feature via subcommand guess
    • Add tests for guess are added as well.

Other Changes

  • 🔧 Disable highlight in rich console globally
  • 👷 Increase verbosity of pytest in CI
  • 📝 Update unreleased section in CHANGELOG
  • 📝 Update CLI docs in README
    • Use typer utils to generate CLI docs via uv run -m typer pirel.cli utils docs (with small changes)
  • 📝 Update installation guide in README
    • Mention uv as first option for install
    • Add note regarding installing in virtual environment

Implement comparison functions for version objects `PythonVersion` and `PythonRelease`.
@RafaelWO RafaelWO changed the title ✨ Make versions comparible ✨ Add guessing feature Jan 1, 2025
@RafaelWO RafaelWO force-pushed the feature/guess branch 2 times, most recently from c478cb2 to 60bff03 Compare January 1, 2025 10:48
This new command enables users to answer question based on the release cycle data. For example, when was which release published or who was the release manager. The answers are stored in a CSV file in the user data directory.

New tests for `guess` are added as well.
Use typer utils to generate CLI docs via `uv run -m typer pirel.cli utils docs` (with small changes)
* Mention uv as first option for install
* Add note regarding installing in virtual environment
@RafaelWO RafaelWO marked this pull request as ready for review January 2, 2025 10:43
@RafaelWO RafaelWO merged commit 1baf6ec into main Jan 2, 2025
6 checks passed
@RafaelWO RafaelWO deleted the feature/guess branch January 2, 2025 10:44
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