-
Notifications
You must be signed in to change notification settings - Fork 260
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
use of [tool.yamllint] in a pyproject.toml #568
Comments
Hello, it's an interesting question. Yamllint is written in Python, but as a tool it's language-independent. In theory it could try to read config from many environments, e.g. |
I don't think this is an arbitrary thing to support. PEP 518, the spec for
I think using What do you think about this, @adrienverge? |
Hello, I agree that PEP 518 allows to put configuration inside I'm not favorable to reading configuration from
|
Also, see this opinion in pypa/setuptools#3979 (review) against stockpiling everything in
|
Is there any progress on it? |
I don't think it is planned for this project. |
I support this because it allows me to get rid of a config file. I've seen other non-python linters like |
Sad to hear that. |
Curious if there are some examples of using yamllint with a pyproject.toml file (i.e. not need a .yamllint.yaml config file).
If so i'm also curious how one passes the rules to pre-commit without a .yamllint.yaml config file
Edit: may be a dup of #383
The text was updated successfully, but these errors were encountered: