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

Move static checks to single-line ones #27424

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Oct 31, 2022

Suddenly github stopped liking 3-years old (otherwise perfectly fine) double-quoted mutli-line strings indented in the way that they lacked spaces (even it is perfectly valid yaml). Seems they changed parser to be a lot more picky (and rather wrong because such multi-line entries when ended with \ are perfectly fine according to yaml specification.

This change fixes the problem by making those keys single line and telling yamlling to ignore their length (yammlint was the main reason why they were converted into multi-line keys).


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

Suddenly github stopped liking 3-years old (otherwise perfectly fine)
double-quoted mutli-line strings indented in the way that they
lacked spaces (even it is perfectly valid yaml). Seems they
changed parser to be a lot more picky (and rather wrong because such
multi-line entries when ended with \ are perfectly fine according to
yaml specification.

This change fixes the problem by making those keys single line and
telling yamlling to ignore their length (yammlint was the main
reason why they were converted into multi-line keys).
@potiuk potiuk merged commit b29ca4e into apache:main Oct 31, 2022
@potiuk potiuk deleted the fix-failing-github-workflows branch October 31, 2022 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants