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

ENH: modify pyproject.toml with context manager #316

Merged
merged 4 commits into from
Mar 10, 2024

Conversation

redeboer
Copy link
Member

Just like #315, pyproject.toml can now only be modified by using a ModifiablePyproject class is used as a context manager. Once the context is exited, pyproject.toml is updated if there were modifications (as read from the changelog that is kept in the class).

@redeboer redeboer added the ⚙️ Enhancement Improvements and optimizations of existing features label Mar 10, 2024
@redeboer redeboer self-assigned this Mar 10, 2024
@redeboer redeboer changed the title EMH: modify pyproject.toml with context manager ENH: modify pyproject.toml with context manager Mar 10, 2024
@redeboer redeboer merged commit 5348a24 into ComPWA:main Mar 10, 2024
18 checks passed
@redeboer redeboer deleted the pyproject-context-manager branch March 10, 2024 17:29
@redeboer redeboer added this to the 0.4.0 milestone Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Enhancement Improvements and optimizations of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant