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

BREAK: type pre-commit config with TypedDict #272

Merged
merged 4 commits into from
Jan 12, 2024
Merged

BREAK: type pre-commit config with TypedDict #272

merged 4 commits into from
Jan 12, 2024

Conversation

redeboer
Copy link
Member

All .pre-commit-config.yaml loading and editing can now only be done through load_precommit_config() and its writable version, load_roundtrip_precommit_config(). To make these functions easier to use, they now returned a TypedDict instead of CommentedMap from ruamel.yaml.

@redeboer redeboer added the ⚠️ Interface Breaking changes to the API label Jan 12, 2024
@redeboer redeboer self-assigned this Jan 12, 2024
@redeboer redeboer enabled auto-merge (squash) January 12, 2024 14:19
@redeboer redeboer merged commit 97481a1 into main Jan 12, 2024
18 checks passed
@redeboer redeboer deleted the TypedDict branch January 12, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️ Interface Breaking changes to the API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant