-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Synchronize default versions in all split .pre-commit-config.yaml #57851
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
Conversation
We should make sure that defaults are also specified in the split .pre-commit-config.yaml files for different languages. Just to avoid any future problems we synchronize defaults for all languages no matter which languages are used currently - because it is possible that we will use different languages in different distributions for pre-commits.
ed194a2 to
691438f
Compare
|
Do we have a pre-commit check to check those pre-commit configs are in sync with each other? |
|
@uranusjr you mean this? |
I think not - but that would be somewhat valuable addition if you would like to add one (however we change those very rarely). |
Backport failed to create: v3-1-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker e67b211 v3-1-testThis should apply the commit to the v3-1-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
|
So feel absolutely free @uranusjr
|
|
No need to backport BTW. |
| default_language_version: | ||
| python: python3 | ||
| node: 22.19.0 | ||
| golang: 1.24.0 |
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.
Interesting, also if there is no golang in this package :-D
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.
Yes. I wrote it in the description that I am adding all defaults everywhere - it is very easy to add or move a peek hook and forget toove defaults.
Defaults are just defaults :)
…ache#57851) We should make sure that defaults are also specified in the split .pre-commit-config.yaml files for different languages. Just to avoid any future problems we synchronize defaults for all languages no matter which languages are used currently - because it is possible that we will use different languages in different distributions for pre-commits.


We should make sure that defaults are also specified in the split .pre-commit-config.yaml files for different languages. Just to avoid any future problems we synchronize defaults for all languages no matter which languages are used currently - because it is possible that we will use different languages in different distributions for pre-commits.
^ 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.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.