-
Notifications
You must be signed in to change notification settings - Fork 16.3k
build(pre-commit): check deferrable default value #32370
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
build(pre-commit): check deferrable default value #32370
Conversation
|
looks good :). Let's see how it works :) |
8ece00b to
78cf7e8
Compare
|
@potiuk Just finished the implementation. I use it to detect 2 operators with |
That was my hope that we will get something like that to test it :) |
47b0de9 to
1629a0f
Compare
5a82e9a to
cf31b57
Compare
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.
I added a couple of commits to make the code a slightly more robust and well formatted.
|
One more change to make the doc URL only appear once, not for every error detected. |
|
Seems the checks are failing now :( |
…lean("operators", "default_deferrable", fallback=False),
73222d0 to
40430c8
Compare
40430c8 to
03e1174
Compare
89bf164 to
9463da5
Compare
--------- Co-authored-by: Tzu-ping Chung <[email protected]>
related: #31712, #32355 (comment), #29462 (review)
^ 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 newsfragments.