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

Move Repository to context manager #2477

Merged
merged 2 commits into from
Feb 24, 2024
Merged

Commits on Feb 22, 2024

  1. Move Repository to context manager

    Change the Repository Factory to be a context manager.
    All code using Repository was updated to the following
    with statement:
    
        with Repository(...).new as repo:
            repo.some_member()
    
    This is related to Issue #2412
    schaefi committed Feb 22, 2024
    Configuration menu
    Copy the full SHA
    4bcfa7f View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. Fixed type hint for pinch_system method

    The PackageManager argument is allowed to be optional
    schaefi committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    3dbf6cd View commit details
    Browse the repository at this point in the history