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

FIX: dump to file when leaving context managers #322

Merged
merged 7 commits into from
Mar 12, 2024
Merged

Conversation

redeboer
Copy link
Member

@redeboer redeboer commented Mar 12, 2024

Follow-up to #321 and #319:

  • Lets the dumps() method correctly return string content (d9871fb)
  • Makes the __exit__() methods return status code to correctly catch PrecommitErrors (97cac9c) and dump the content (973ef9b)
  • Added unit tests for pre-commit editor (71a9995 and 840fff0)

@redeboer redeboer added the 🐛 Bug Something isn't working label Mar 12, 2024
@redeboer redeboer self-assigned this Mar 12, 2024
@redeboer redeboer merged commit b36faa3 into main Mar 12, 2024
18 checks passed
@redeboer redeboer deleted the fix-context-manager branch March 12, 2024 11:42
@redeboer redeboer added this to the 0.4.0 milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant