-
Notifications
You must be signed in to change notification settings - Fork 281
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
Not indenting array is not an error #374
Comments
Hello Rob Muhlestein, Your problem is not very clear but it looks like you're not reporting a bug, rather expressing your personal taste on indentation. Some people like extra spaces at the end of lines, some others like dict keys to be unsorted, others don't use Maybe you'll find the documentation interesting: especially the
OK |
@adrienverge while the OP was kind of rude, the YAML failsafe schema does allow list items to be non-indented and recommends to do so "for generic YAML tools" - see yaml/pyyaml#234 (comment) for discussion. (In this specific case pyyaml is following the failsafe schema but yamllint is reporting it as invalid). |
@jagibson this has nothing to do with the Failsafe schema or any YAML schema. The schema is about loading things like PyYAML does not use the Failsafe schema by default, btw, because it implements YAML 1.1, where the word "schema" wasn't even used in the spec.
yamllint does not report it as invalid (as @adrienverge already explained). |
The following is being incorrectly flagged as an error:
That is all.
The text was updated successfully, but these errors were encountered: