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

Add support for standalone yamlfix config files #292

Open
1 task
JP-Ellis opened this issue Dec 25, 2024 · 0 comments
Open
1 task

Add support for standalone yamlfix config files #292

JP-Ellis opened this issue Dec 25, 2024 · 0 comments

Comments

@JP-Ellis
Copy link

Description

In addition to support configuration within pyproject.toml, add support for a standalone yamlfix.toml or .yamlfix.toml file.

Additional context

When Yamlfix is used as part of a Python project, it is fantastic to have the config within the central pyproject.toml file; however, not all projects are Python projects.

I think it would be really nice if Yamlfix provided support for both .yamlfix.toml and yamlfix.toml.

Related Issue

This is related to:

Though the above differs in that I am suggesting a per-project configuration, as opposed to a global user config.

Implementation

If that is something that would be desirable, it seems like it should be rather trivial to implement using the existing maison framework: https://maison.readthedocs.io/en/latest/usage.html#source-files. I would be happy to contribute a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant