-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Enforce presence of keys (with any values) #218
Comments
Thanks for yet another issue, I like the idea. TOML files need a better API, similar to how the text plugin is being shaped (see #233 (comment)). YAML files could also have a similar approach: #127 (comment) I still didn't think how this "presence/absence of keys" fits the API so far, but it can be used for TOML, YAML, JSON... |
) * feat(yaml): special config: custom unique keys to search elements in lists * feat(yaml): append elements on a list * feat(yaml): only display the element that is missing but replace the whole list underneath * feat(yaml): compare elements individually * style: add autoflake * style: add prettier * style: deprecate old pre-commit style for repos ("repos.yaml" key) * style: update all styles with new pre-commit format * docs: ideas for presence/absence of keys (#218 and #10) * docs: ReadTheDocs still didn't upgrade to Python 3.9 * refactor: slightly reduce complexity (not ideal yet) * refactor: remove dead code
[Note to self (or to someone who might want to create a pull request for this issue before I do it 😅)] Consider this comment when implementing a solution for this issue: #472 (comment) |
My current use-case is that I am working on
pyproject.toml
styles.I want
to be set to any values. But, I want them set.
Currently, I cannot find any ways to do this.
Related #10
The text was updated successfully, but these errors were encountered: