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

A structured way to interact with .pre-commit-config.yaml #134

Open
nathanjmcdougall opened this issue Nov 19, 2024 · 0 comments
Open

A structured way to interact with .pre-commit-config.yaml #134

nathanjmcdougall opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nathanjmcdougall
Copy link
Owner

Motivation
Working on #54 I am making some major changes to the way to interact with bitbucket-pipelines.yml which should make things exceptionally more robust using pydantic. However, I am not yet touching pre-commit config, even though it really merits the same treatment.

There is undoubtedly a schema somewhere. The associated package https://github.com/asottile/cfgv is worth looking at

Summary of desired enhancement
Stop accessing .pre-commit-config.yaml as a raw dict and use a validated class-based approach e.g. with pydantic.

@nathanjmcdougall nathanjmcdougall added the enhancement New feature or request label Nov 19, 2024
@nathanjmcdougall nathanjmcdougall self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant