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
[AIRFLOW-5180] Added static checks (yamllint) + auto-licences for yaml #5790
Conversation
99ee8a0
to
4d0be20
Compare
4d0be20
to
97c61d7
Compare
97c61d7
to
4c4aa73
Compare
Part of static checks dealing with yaml (yamllint + consistent licenses). Removed the chaing of depnding commits. |
4c4aa73
to
48e3a47
Compare
48e3a47
to
73f3272
Compare
Rather small consistency change for all yaml files :). Would be nice to merge it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor change, otherwise looks good to me.
Do we need to add yamllint-config.yaml to the safelist in .dockerignore
?
d12b807
to
92f11cd
Compare
@ashb - no, we do not need to add it. yamllint static check is not run in Docker. But we should add it as pre-requisite (just did)
It would work out-of-the-box if we did not have [devel] extra. The key is 'language: python' here. In this case Yamllint is run via yamlint python pre-commit plugin. Those plugins (which are python-based) manage their dependencies and virtualenvs on their own. Basically those built-in plugins create their own small virtualenv where they install needed dependencies (yamllint in this case) using |
92f11cd
to
2200795
Compare
Make sure you have checked all steps below.
Jira
Description
Tests
Commits
Documentation
Code Quality
flake8